StatisticColumn 构造函数 (Statistic, String)
Initializes a new instance of the StatisticColumn class for the specified statistic counter and with the specified name.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Public Sub New ( _
statistic As Statistic, _
name As String _
)
用法
Dim statistic As Statistic
Dim name As String
Dim instance As New StatisticColumn(statistic, _
name)
public StatisticColumn(
Statistic statistic,
string name
)
public:
StatisticColumn(
Statistic^ statistic,
String^ name
)
new :
statistic:Statistic *
name:string -> StatisticColumn
public function StatisticColumn(
statistic : Statistic,
name : String
)
参数
- statistic
类型:Microsoft.SqlServer.Management.Smo. . :: . .Statistic
A Statistic object that specifies the statistic counter on which the statistic column is defined.
- name
类型:System. . :: . .String
A String value that specifies the name of the column.