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