SPMobileMessagingAccount.UpdateServiceProvider Method
Gets the service provider’s latest information about itself and uses it to update the ServiceProvider property.
Namespace: Microsoft.SharePoint.MobileMessage
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Function UpdateServiceProvider As Boolean
'Usage
Dim instance As SPMobileMessagingAccount
Dim returnValue As Boolean
returnValue = instance.UpdateServiceProvider()
public bool UpdateServiceProvider()
Return Value
Type: System.Boolean
true if the operation is successful; otherwise, false.
Remarks
Your code should call this method before sending a message to ensure that the ServiceProvider object is current.
See Also
Reference
SPMobileMessagingAccount Class