Partilhar via


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

Remarks

The account assignment is persisted in the Microsoft SharePoint Foundation database.

See Also

Reference

SPWebApplication Class

SPWebApplication Members

Microsoft.SharePoint.Administration Namespace