Condividi tramite


LogFile.IsSparse Property

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

Spazio dei nomi: Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Sintassi

'Dichiarazione
Public ReadOnly Property IsSparse As Boolean
public bool IsSparse { get; }
public:
property bool IsSparse {
    bool get ();
}
/** @property */
public boolean get_IsSparse ()
public function get IsSparse () : boolean

Valore proprietà

A Boolean value that specifies whether the data file is sparse. If True, the data file is sparse. If False (default), the data file is dense.

Osservazioni

Testo aggiornato:

Sparse files are described in Funzionamento degli snapshot del database.

Questo spazio dei nomi, classe o membro è supportato solo nella versione 2.0 di Microsoft .NET Framework.

Esempio

How to: Add FileGroups and DataFiles to a Database in Visual Basic .NET

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Piattaforme

Piattaforme di sviluppo

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Piattaforme di destinazione

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Vedere anche

Riferimento

LogFile Class
LogFile Members
Microsoft.SqlServer.Management.Smo Namespace

Altre risorse

Informazioni sulle dimensioni dei file sparse negli snapshot del database
Using Filegroups and Files to Store Data
File e filegroup fisici del database
CREATE DATABASE (Transact-SQL)