Share 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)

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