共用方式為


Remove 方法 (AlertCategory)

Removes an AlertCategory object from the AlertCategoryCollection collection.

命名空間:  Microsoft.SqlServer.Management.Smo.Agent
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Sub Remove ( _
    alertCategory As AlertCategory _
)
'用途
Dim instance As AlertCategoryCollection
Dim alertCategory As AlertCategory

instance.Remove(alertCategory)
public void Remove(
    AlertCategory alertCategory
)
public:
void Remove(
    AlertCategory^ alertCategory
)
member Remove : 
        alertCategory:AlertCategory -> unit 
public function Remove(
    alertCategory : AlertCategory
)

範例

使用集合