TechNet
Export (0) Print
Expand All

DataFile.IsReadOnly Property

 

Gets the Boolean property value that specifies whether the data file is read-only or can be updated.

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

[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public bool IsReadOnly { get; }

Property Value

Type: System.Boolean

A Boolean value that specifies whether the data file is read-only or can be updated.

If True, the data file is read-only. Otherwise, False (default).

Return to top
Show:
© 2016 Microsoft