SPMobileSmsMessage.AddRecipient Method
Adds the specified recipient as a new recipient for the message.
Namespace: Microsoft.SharePoint.MobileMessage
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Overrides Function AddRecipient ( _
recipient As String _
) As Boolean
'Usage
Dim instance As SPMobileSmsMessage
Dim recipient As String
Dim returnValue As Boolean
returnValue = instance.AddRecipient(recipient)
public override bool AddRecipient(
string recipient
)
Parameters
recipient
Type: System.StringThe mobile telephone number of the new recipient.
Return Value
Type: System.Boolean
true if the operation is successful; otherwise, false.
Remarks
This override first verifies that the provider’s limit on the number of recipients for an SMS message has not been reached.