SPMobileMessageSmsBuilder.AddRecipient Method
Adds a recipient for the message.
Namespace: Microsoft.SharePoint.MobileMessage
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Function AddRecipient ( _
recipient As String _
) As Boolean
'Usage
Dim instance As SPMobileMessageSmsBuilder
Dim recipient As String
Dim returnValue As Boolean
returnValue = instance.AddRecipient(recipient)
public bool AddRecipient(
string recipient
)
Parameters
recipient
Type: System.StringThe recipient that is added.
Return Value
Type: System.Boolean
true if the operation succeeds; otherwise, false.
Remarks
The operation will fail if, for example, the maximum number of recipients has already been reached.
See Also
Reference
SPMobileMessageSmsBuilder Class