FileGroup.ReadOnly 속성

Gets the Boolean value that specifies whether the file group is read-only.

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

구문

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

value = instance.ReadOnly

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

속성 값

유형: System.Boolean
A Boolean value that specifies whether the file group is read-only.If True, the file group is read-only. Otherwise, False (default).

데이터베이스 개체 작업

참고 항목

참조

FileGroup 클래스

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

관련 자료

파일 및 파일 그룹 사용

CREATE TABLE(Transact-SQL)