다음을 통해 공유


IsReadOnly 속성

Gets the Boolean property value that specifies whether the data file is read-only or can be updated.

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

구문

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

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

속성 값

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