Share via


SPMobileMessagingAccount constructor (String, String, String, SecureString, SPMobileMessageServiceProvider, SPMobileMessageUserInfo)

Initializes a new instance of the SPMobileMessagingAccount class with the specified service, user, and service provider.

Namespace:  Microsoft.SharePoint.MobileMessage
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Sub New ( _
    serviceName As String, _
    serviceUrl As String, _
    userId As String, _
    password As SecureString, _
    serviceProvider As SPMobileMessageServiceProvider, _
    userInfo As SPMobileMessageUserInfo _
)
'Usage
Dim serviceName As String
Dim serviceUrl As String
Dim userId As String
Dim password As SecureString
Dim serviceProvider As SPMobileMessageServiceProvider
Dim userInfo As SPMobileMessageUserInfo

Dim instance As New SPMobileMessagingAccount(serviceName, _
    serviceUrl, userId, password, serviceProvider, _
    userInfo)
public SPMobileMessagingAccount(
    string serviceName,
    string serviceUrl,
    string userId,
    SecureString password,
    SPMobileMessageServiceProvider serviceProvider,
    SPMobileMessageUserInfo userInfo
)

Parameters

  • serviceName
    Type: System.String

    The name of the Office Mobile Service (OMS) Web service.

See also

Reference

SPMobileMessagingAccount class

SPMobileMessagingAccount members

SPMobileMessagingAccount overload

Microsoft.SharePoint.MobileMessage namespace