SPWebApplication.UpdateSmsAccount Method
Assigns to the Web application the account with a mobile messaging service provider that is used by mobile alerts.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Sub UpdateSmsAccount ( _
account As SPMobileMessagingAccount _
)
'Usage
Dim instance As SPWebApplication
Dim account As SPMobileMessagingAccount
instance.UpdateSmsAccount(account)
public void UpdateSmsAccount(
SPMobileMessagingAccount account
)
Parameters
account
Type: Microsoft.SharePoint.MobileMessage.SPMobileMessagingAccountThe Web application’s mobile alerts account.
Remarks
The account assignment is persisted in the Microsoft SharePoint Foundation database.