Поделиться через


FileGroup.IsDefault Property

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

Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Синтаксис

'Декларация
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)

Значение свойства

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.

Замечания

Это пространство имен, класс или элемент поддерживаются только платформой Microsoft .NET Framework версии 2.0.

Пример

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

Синхронизация потоков

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.

Платформы

Платформы разработки

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

Целевые платформы

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

См. также

Справочник

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

Другие ресурсы

Using Filegroups and Files to Store Data
Работа с файлами и файловыми группами
CREATE TABLE (Transact-SQL)