Поделиться через


Свойство Site.Url

Gets the full URL to the root Web site of the site collection, including host name, port number, and path.

Пространство имен:  Microsoft.SharePoint.Client
Сборки:   Microsoft.SharePoint.Client.Silverlight (в Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client.Phone (в Microsoft.SharePoint.Client.Phone.dll)  Microsoft.SharePoint.Client (в Microsoft.SharePoint.Client.dll)

Синтаксис

'Декларация
Public ReadOnly Property Url As String
    Get
'Применение
Dim instance As Site
Dim value As String

value = instance.Url
public string Url { get; }

Значение свойства

Тип: System.String
A string that contains the URL.

Замечания

This property must not end with a leading forward slash (“/”).

См. также

Справочные материалы

Site класс

Элементы Site

Пространство имен Microsoft.SharePoint.Client