Condividi tramite


FileGroup.IsDefault Property

Gets or sets the Boolean value that specifies whether the file group is the default file group for the database.

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

Sintassi

'Dichiarazione
Public Property IsDefault As Boolean
public bool IsDefault { get; set; }
public:
property bool IsDefault {
    bool get ();
    void set (bool value);
}
/** @property */
public boolean get_IsDefault ()

/** @property */
public void set_IsDefault (boolean value)
public function get IsDefault () : boolean

public function set IsDefault (value : boolean)

Valore proprietà

A Boolean value that specifies whether the file group is the default. If True, the file group is the default file group for the database. If False (default), the file group is not the default file group for the database. Another file group is the default file group.

Osservazioni

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

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

Altre risorse

Using Filegroups and Files to Store Data
Utilizzo di file e filegroup
CREATE TABLE (Transact-SQL)