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

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

SPMobileMessageSmsBuilder Members

Microsoft.SharePoint.MobileMessage Namespace