IDatabaseMaintenanceFacet.ReadOnly Property

 

Gets or sets a value that specifies if the database is read-only.

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

[DisplayDescriptionKeyAttribute("Database_ReadOnlyDesc")]
[DisplayNameKeyAttribute("Database_ReadOnlyName")]
bool ReadOnly { get; set; }

Property Value

Type: System.Boolean

true if the database is read-only; otherwise, false.

Return to top
Show: