다음을 통해 공유


DataFile.IsReadOnlyMedia 속성

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

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property IsReadOnlyMedia As Boolean 
    Get
‘사용 방법
Dim instance As DataFile 
Dim value As Boolean 

value = instance.IsReadOnlyMedia
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public bool IsReadOnlyMedia { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property bool IsReadOnlyMedia {
    bool get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member IsReadOnlyMedia : bool
function get IsReadOnlyMedia () : boolean

속성 값

유형: System.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.

파일 그룹 및 파일을 사용하여 데이터 저장

참고 항목

참조

DataFile 클래스

Microsoft.SqlServer.Management.Smo 네임스페이스

관련 자료

파일 및 파일 그룹 아키텍처

CREATE DATABASE(Transact-SQL)