Udostępnij przez


Index.FileGroup Property

Gets or sets the filegroup where the index pages are stored.

Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntax

'Deklaracja
<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)> _
Public Property FileGroup As String
[SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)] 
public string FileGroup { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::ReadOnlyAfterCreation)] 
public:
property String^ FileGroup {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_FileGroup ()

/** @property */
public void set_FileGroup (String value)
public function get FileGroup () : String

public function set FileGroup (value : String)

Property Value

A String value that specifies the filegroup where the index is stored.

Remarks

Uwaga

For indexes based on the UserDefinedTableType object the filegroup is provided by sys.indexes and the value of FileGroup property is ignored.

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.