Partager via


Site.Owner - Propriété

Gets or sets the owner of the site collection. (Read-only in solutions bac à sable.)

Espace de noms :  Microsoft.SharePoint.Client
Assemblys :   Microsoft.SharePoint.Client.Silverlight (dans Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client.Phone (dans Microsoft.SharePoint.Client.Phone.dll)  Microsoft.SharePoint.Client (dans Microsoft.SharePoint.Client.dll)

Syntaxe

'Déclaration
Public Property Owner As User
    Get
    Set
'Utilisation
Dim instance As Site
Dim value As User

value = instance.Owner

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

Valeur de propriété

Type : Microsoft.SharePoint.Client.User
An User object that represents the owner.

Remarques

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

Voir aussi

Référence

Site classe

Site - Membres

Microsoft.SharePoint.Client - Espace de noms