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.StringThe name of the OMS Web service.
serviceUrl
Type: System.StringThe URL of the service.
userId
Type: System.StringThe user’s ID with the service.
password
Type: System.Security.SecureStringThe user’s password with the service.
See also
Reference
SPMobileMessagingAccount class
SPMobileMessagingAccount members