Share via


AlertManagement.GetAlertDefinition(Guid) 方法

定义

返回现有的警报定义。

public:
 AlertingWcfProxy::AlertDefinition ^ GetAlertDefinition(Guid alertDefinitionId);
[System.ServiceModel.FaultContract(typeof(AlertingWcfProxy.RsExceptionInfo), Action="http://schemas.microsoft.com/sqlserver/reporting/2010/10/01/AlertManagement/AlertManagement/GetAlertDefinitionRsExceptionInfoFault", 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/GetAlertDefinition", ReplyAction="http://schemas.microsoft.com/sqlserver/reporting/2010/10/01/AlertManagement/AlertManagement/GetAlertDefinitionResponse")]
public AlertingWcfProxy.AlertDefinition GetAlertDefinition (Guid alertDefinitionId);
[<System.ServiceModel.FaultContract(typeof(AlertingWcfProxy.RsExceptionInfo), Action="http://schemas.microsoft.com/sqlserver/reporting/2010/10/01/AlertManagement/AlertManagement/GetAlertDefinitionRsExceptionInfoFault", 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/GetAlertDefinition", ReplyAction="http://schemas.microsoft.com/sqlserver/reporting/2010/10/01/AlertManagement/AlertManagement/GetAlertDefinitionResponse")>]
abstract member GetAlertDefinition : Guid -> AlertingWcfProxy.AlertDefinition
Public Function GetAlertDefinition (alertDefinitionId As Guid) As AlertDefinition

参数

alertDefinitionId
Guid

警报定义 ID。

返回

AlertDefinition

警报定义记录。

属性

适用于