Share via


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

SPMobileMessagingAccount members

Microsoft.SharePoint.MobileMessage namespace