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 命名空间