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.StringThe name of the Office Mobile Service (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.
serviceProvider
Type: Microsoft.SharePoint.MobileMessage.SPMobileMessageServiceProviderInformation about the company that provides the Office Mobile Service (OMS) messaging Web service.
userInfo
Type: Microsoft.SharePoint.MobileMessage.SPMobileMessageUserInfoThe service provider’s information about the user.
See Also
Reference
SPMobileMessagingAccount Class
SPMobileMessagingAccount Members