Add 方法
Adds a Statistic object to the StatisticCollection collection.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public Sub Add ( _
statistic As Statistic _
)
'用途
Dim instance As StatisticCollection
Dim statistic As Statistic
instance.Add(statistic)
public void Add(
Statistic statistic
)
public:
void Add(
Statistic^ statistic
)
member Add :
statistic:Statistic -> unit
public function Add(
statistic : Statistic
)
參數
- statistic
型別:Microsoft.SqlServer.Management.Smo. . :: . .Statistic
A Statistic object value that specifies the statistic counter to be removed from the StatisticCollection collection.