Add 方法
Adds an AlertCategory object to the AlertCategoryCollection collection.
命名空间: Microsoft.SqlServer.Management.Smo.Agent
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Public Sub Add ( _
alertCategory As AlertCategory _
)
用法
Dim instance As AlertCategoryCollection
Dim alertCategory As AlertCategory
instance.Add(alertCategory)
public void Add(
AlertCategory alertCategory
)
public:
void Add(
AlertCategory^ alertCategory
)
member Add :
alertCategory:AlertCategory -> unit
public function Add(
alertCategory : AlertCategory
)
参数
- alertCategory
类型:Microsoft.SqlServer.Management.Smo.Agent. . :: . .AlertCategory