Свойство Site.ReadOnly
Gets or sets a Boolean value that specifies whether the site collection is read-only, locked, and unavailable for write access.
Пространство имен: 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 ReadOnly As Boolean
Get
'Применение
Dim instance As Site
Dim value As Boolean
value = instance.ReadOnly
public bool ReadOnly { get; }
Значение свойства
Тип: System.Boolean
true if the site collection is read-only, locked, and unavailable for write access; otherwise, false.
Замечания
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.