共用方式為


Statistic.FileGroup 屬性

Gets or sets the filegroup in which the statistic counter is stored.

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

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public Property FileGroup As String 
    Get 
    Set
'用途
Dim instance As Statistic 
Dim value As String 

value = instance.FileGroup

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

屬性值

型別:System.String
A String value that specifies the file group in which the statistic counter is stored.

範例

建立和更新統計資料

請參閱

參考

Statistic 類別

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

CREATE STATISTICS (Transact-SQL)