OperatorCategoryCollection.Add 方法
Adds an OperatorCategory object to the OperatorCategoryCollection collection.
命名空間: Microsoft.SqlServer.Management.Smo.Agent
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public Sub Add ( _
operatorCategory As OperatorCategory _
)
'用途
Dim instance As OperatorCategoryCollection
Dim operatorCategory As OperatorCategory
instance.Add(operatorCategory)
public void Add(
OperatorCategory operatorCategory
)
public:
void Add(
OperatorCategory^ operatorCategory
)
member Add :
operatorCategory:OperatorCategory -> unit
public function Add(
operatorCategory : OperatorCategory
)
參數
- operatorCategory
型別:Microsoft.SqlServer.Management.Smo.Agent.OperatorCategory
An OperatorCategory object that specifies the operator category to be removed from the OperatorCategoryCollection collection.