Sdílet prostřednictvím


Table.FileGroup Property

Gets or sets the filegroup where the table is stored.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)> _
Public Property FileGroup As String
    Get
    Set
'Usage
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)

Property Value

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

Implements

ITableOptions.FileGroup

Remarks

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