Share via


SPMobileMessagingAccount.ServiceUrl property

Gets or sets the URL of the Office Mobile Service (OMS) Web service.

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

Syntax

'Declaration
Public Property ServiceUrl As String
    Get
    Set
'Usage
Dim instance As SPMobileMessagingAccount
Dim value As String

value = instance.ServiceUrl

instance.ServiceUrl = value
public string ServiceUrl { get; set; }

Property value

Type: System.String
The Web service’s URL.

Remarks

The value of the SPMobileMessagingAccount.ServiceUrl property is not necessarily the same as the value of the SPMobileMessageServiceProvider.ServiceUrl property. The latter is returned by a call of the UpdateServiceProvider() method and is used to actually send messages. This indirect system gives the mobile service provider with some flexibility.

See also

Reference

SPMobileMessagingAccount class

SPMobileMessagingAccount members

Microsoft.SharePoint.MobileMessage namespace