Compartir a través de


IsSparse Propiedad

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

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property IsSparse As Boolean
    Get
'Uso
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

Valor de la propiedad

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

Comentarios

Sparse files are described in Funcionamiento de las instantáneas de la base de datos.