Export (0) Print
Expand All

DataFile.IsReadOnlyMedia Property

Gets the Boolean property value that specifies whether the data file is stored on read-only media.

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

[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.Matrix)]
public bool IsReadOnlyMedia { get; }

Property Value

Type: Boolean
A Boolean value that specifies whether the data file is stored on read-only media.If True, the data file is stored on read-only media. Otherwise, False (default).

An example of read-only media is a CD-ROM.

Community Additions

Show:
© 2015 Microsoft