AlertManagement.ListAlertDefinitionsAdmin(Guid) 方法

定义

返回特定站点和用户登录名的警报定义的列表。

public:
 cli::array <AlertingWcfProxy::AlertDefinition ^> ^ ListAlertDefinitionsAdmin(Guid userId);
[System.ServiceModel.FaultContract(typeof(AlertingWcfProxy.RsExceptionInfo), Action="http://schemas.microsoft.com/sqlserver/reporting/2010/10/01/AlertManagement/AlertManagement/ListAlertDefinitionsAdminRsExceptionInfoFault", Name="RsExceptionInfo", Namespace="http://schemas.datacontract.org/2004/07/Microsoft.ReportingServices.Alerting.ServiceContract")]
[System.ServiceModel.OperationContract(Action="http://schemas.microsoft.com/sqlserver/reporting/2010/10/01/AlertManagement/AlertManagement/ListAlertDefinitionsAdmin", ReplyAction="http://schemas.microsoft.com/sqlserver/reporting/2010/10/01/AlertManagement/AlertManagement/ListAlertDefinitionsAdminResponse")]
public AlertingWcfProxy.AlertDefinition[] ListAlertDefinitionsAdmin (Guid userId);
[<System.ServiceModel.FaultContract(typeof(AlertingWcfProxy.RsExceptionInfo), Action="http://schemas.microsoft.com/sqlserver/reporting/2010/10/01/AlertManagement/AlertManagement/ListAlertDefinitionsAdminRsExceptionInfoFault", Name="RsExceptionInfo", Namespace="http://schemas.datacontract.org/2004/07/Microsoft.ReportingServices.Alerting.ServiceContract")>]
[<System.ServiceModel.OperationContract(Action="http://schemas.microsoft.com/sqlserver/reporting/2010/10/01/AlertManagement/AlertManagement/ListAlertDefinitionsAdmin", ReplyAction="http://schemas.microsoft.com/sqlserver/reporting/2010/10/01/AlertManagement/AlertManagement/ListAlertDefinitionsAdminResponse")>]
abstract member ListAlertDefinitionsAdmin : Guid -> AlertingWcfProxy.AlertDefinition[]
Public Function ListAlertDefinitionsAdmin (userId As Guid) As AlertDefinition()

参数

userId
Guid

用于创建警报定义的用户 ID。

返回

AlertDefinition[]

警报定义的集合。

属性

适用于