Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.