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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft