Compartir a través de


AlertCategoryCollection.Add Método

Adds an AlertCategory object to the AlertCategoryCollection collection.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo.Agent
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
Public Sub Add ( _
    alertCategory As AlertCategory _
)
'Uso
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
)

Parámetros

Ejemplos

Usar colecciones

Vea también

Referencia

AlertCategoryCollection Clase

Espacio de nombres Microsoft.SqlServer.Management.Smo.Agent