Export (0) Print
Expand All

SPDatabase.IsReadOnly property

Gets a value that indicates whether the database is read-only.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public bool IsReadOnly { get; }

Property value

Type: System.Boolean
true if the database is read-only; otherwise, false.

Getting this property makes one round trip to Microsoft SQL Server per call.

© 2014 Microsoft