다음을 통해 공유


IsSparse 속성

Gets the Boolean value that specifies whether the file is a sparse file. Sparse files are used in database snapshots.

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

구문

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

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

속성 값

유형: System. . :: . .Boolean
A Boolean value that specifies whether the data file is sparse.
If True, the data file is sparse. Otherwise, False (default).

주의

Sparse files are described in 데이터베이스 스냅숏 작동 방법.