ITableOptions.FileGroup Property

Gets or sets the file group in which the table is physically stored.

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

Syntax

'Declaration
<DisplayNameKeyAttribute("Table_FileGroupName")> _
<DisplayDescriptionKeyAttribute("Table_FileGroupDesc")> _
Property FileGroup As String
    Get
    Set
'Usage
Dim instance As ITableOptions
Dim value As String

value = instance.FileGroup

instance.FileGroup = value
[DisplayNameKeyAttribute("Table_FileGroupName")]
[DisplayDescriptionKeyAttribute("Table_FileGroupDesc")]
string FileGroup { get; set; }
[DisplayNameKeyAttribute(L"Table_FileGroupName")]
[DisplayDescriptionKeyAttribute(L"Table_FileGroupDesc")]
property String^ FileGroup {
    String^ get ();
    void set (String^ value);
}
[<DisplayNameKeyAttribute("Table_FileGroupName")>]
[<DisplayDescriptionKeyAttribute("Table_FileGroupDesc")>]
abstract FileGroup : string with get, set
function get FileGroup () : String
function set FileGroup (value : String)

Property Value

Type: System.String
A String value that contains the file group in which the table is physically stored.