Partilhar via


Método EnumNotifications (NotifyMethods, String)

Namespace:  Microsoft.SqlServer.Management.Smo.Agent
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
Public Function EnumNotifications ( _
    notifyMethod As NotifyMethods, _
    operatorName As String _
) As DataTable
'Uso
Dim instance As Alert
Dim notifyMethod As NotifyMethods
Dim operatorName As String
Dim returnValue As DataTable

returnValue = instance.EnumNotifications(notifyMethod, _
    operatorName)
public DataTable EnumNotifications(
    NotifyMethods notifyMethod,
    string operatorName
)
public:
DataTable^ EnumNotifications(
    NotifyMethods notifyMethod, 
    String^ operatorName
)
member EnumNotifications : 
        notifyMethod:NotifyMethods * 
        operatorName:string -> DataTable 
public function EnumNotifications(
    notifyMethod : NotifyMethods, 
    operatorName : String
) : DataTable

Valor de retorno

Tipo: System.Data. . :: . .DataTable