DataFile.IsReadOnlyMedia Property
SQL Server 2012
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.Standalone)] public bool IsReadOnlyMedia { get; }
Property Value
Type: System.BooleanA 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).