EnumAlerts Método
Enumerates a list of Agent alerts that cause automated execution of the referenced job.
Espacio de nombres: Microsoft.SqlServer.Management.Smo.Agent
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
Public Function EnumAlerts As DataTable
'Uso
Dim instance As Job
Dim returnValue As DataTable
returnValue = instance.EnumAlerts()
public DataTable EnumAlerts()
public:
DataTable^ EnumAlerts()
member EnumAlerts : unit -> DataTable
public function EnumAlerts() : DataTable
Valor devuelto
Tipo: System.Data. . :: . .DataTable
A DataTable object value that contains a table of information about the alerts that cause automated execution of the job.
Vea también