Compartilhar via


Propriedade FileGroup

Gets or sets the filegroup where the table is stored.

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

Sintaxe

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

value = instance.FileGroup

instance.FileGroup = value
[SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)]
public string FileGroup { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::ReadOnlyAfterCreation)]
public:
virtual property String^ FileGroup {
    String^ get () sealed;
    void set (String^ value) sealed;
}
[<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)>]
abstract FileGroup : string with get, set
[<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)>]
override FileGroup : string with get, set
final function get FileGroup () : String
final function set FileGroup (value : String)

Valor da propriedade

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

Implementa

ITableOptions. . :: . .FileGroup

Comentários

The FileGroup property is set prior to the creation of the table. After the table is created, the property is read-only.