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.String

    The 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.

See also

Reference

SPMobileSmsMessage class

SPMobileSmsMessage members

Microsoft.SharePoint.MobileMessage namespace