Site.ReadOnly - Propriété
Gets or sets a Boolean value that specifies whether the site collection is read-only, locked, and unavailable for write access.
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 ReadOnly Property ReadOnly As Boolean
Get
'Utilisation
Dim instance As Site
Dim value As Boolean
value = instance.ReadOnly
public bool ReadOnly { get; }
Valeur de propriété
Type : System.Boolean
true if the site collection is read-only, locked, and unavailable for write access; otherwise, false.
Remarques
Setting ReadOnly to true or false also sets WriteLocked to the same value.
ReadOnly returns true whenever the IsReadOnly property of the parent SPDatabase object is true.