Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Creates the complete final XML of a Short Message Service (SMS) message from the specified text.
Namespace: Microsoft.SharePoint.MobileMessage
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub SetTextContent ( _
text As String _
)
'Usage
Dim instance As SPMobileMessageSmsBuilder
Dim text As String
instance.SetTextContent(text)
public void SetTextContent(
string text
)
Parameters
text
Type: System.StringThe text of the message.
Remarks
Using this method to build the message, rather than BuildSmsMessage(SPMobileMessagingAccount, String, String) gives you the option of having multiple recipients for the message; but gives you fewer options than using a message building transaction. For more information about message building transactions, see the Remarks in SPMobileMessageSmsBuilder.
See Also
Reference
SPMobileMessageSmsBuilder Class