SPMobileMessagingAccount Constructor (String, String, String, SecureString)

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

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 _
)
'Usage
Dim serviceName As String
Dim serviceUrl As String
Dim userId As String
Dim password As SecureString

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

Parameters

  • serviceName
    Type: System.String

    The name of the OMS Web service.

See Also

Reference

SPMobileMessagingAccount Class

SPMobileMessagingAccount Members

SPMobileMessagingAccount Overload

Microsoft.SharePoint.MobileMessage Namespace