共用方式為


FileGroup 屬性

Gets or sets the filegroup where the table is stored.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)> _
Public Property FileGroup As String
    Get
    Set
'用途
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)

屬性值

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

實作

ITableOptions. . :: . .FileGroup

備註

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