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


Свойство Site.Owner

Gets or sets the owner of the site collection. (Read-only in изолированные решения.)

Пространство имен:  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 Property Owner As User
    Get
    Set
'Применение
Dim instance As Site
Dim value As User

value = instance.Owner

instance.Owner = value
public User Owner { get; set; }

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

Тип: Microsoft.SharePoint.Client.User
An User object that represents the owner.

Замечания

The user that is specified by the Owner property should not be identical to the user that is specified by the SecondaryContact property.

См. также

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

Site класс

Элементы Site

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