Partager via


FileGroup propriété

Gets or sets the filegroup where the table is stored.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)> _
Public Property FileGroup As String
    Get
    Set
'Utilisation
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)

Valeur de la propriété

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

Implémente

ITableOptions. . :: . .FileGroup

Notes

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