共用方式為


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
)

參數

範例

使用集合