The ISmsMessage::GetAttachmentCount method, in Configuration Manager, gets the count of attachments on the message.
[IDL] HRESULT GetAttachmentCount( ULONG* pulCount );
- Data type: ULONGQualifiers: [out]Pointer to the count of attachments on the message. Each attachment is represented by an ISmsMessageAttachment Interface object.
An HRESULT code. Possible values include, but are not limited to, those in the following:
- The method succeeded.
Your application uses this method when enumerating message attachments. A call to this method is frequently followed by a call to ISmsMessage::GetAttachmentByIndex Method to enumerate the attachments one by one.
Send comments about this topic to Microsoft.