FileGroup 属性

Gets or sets the filegroup where the index pages are 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 Index
Dim value As String

value = instance.FileGroup

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

属性值

类型:System. . :: . .String
A String value that specifies the filegroup where the index is stored.

注释

注意注意

For indexes based on the UserDefinedTableType object the filegroup is provided by sys.indexes and the value of FileGroup property is ignored.