Compartilhar via


Propriedade do RDL Index.FileGroup

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone)> _
Public Property FileGroup As String 
    Get 
    Set
'Uso
Dim instance As Index 
Dim value As String 

value = instance.FileGroup

instance.FileGroup = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone)]
public string FileGroup { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::ReadOnlyAfterCreation|SfcPropertyFlags::Standalone)]
public:
property String^ FileGroup {
    String^ get ();
    void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone)>]
member FileGroup : string with get, set
function get FileGroup () : String 
function set FileGroup (value : String)

Valor da propriedade

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

Comentários

ObservaçãoObservação

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

Exemplos

Criando, alterando e removendo índices

Consulte também

Referência

Index Classe

Namespace Microsoft.SqlServer.Management.Smo

Outros recursos

Índices

CREATE INDEX (Transact-SQL)