다음을 통해 공유


AlertManagement.CreateAlertDefinition 메서드

정의

현재 세션에서 경고 정의를 만듭니다.

public:
 Guid CreateAlertDefinition(AlertingWcfProxy::AlertDefinitionCreate ^ alertDefinition, AlertingWcfProxy::AlertSchedule ^ schedule, AlertingWcfProxy::DeliveryTarget ^ deliveryTarget);
[System.ServiceModel.FaultContract(typeof(AlertingWcfProxy.RsExceptionInfo), Action="http://schemas.microsoft.com/sqlserver/reporting/2010/10/01/AlertManagement/AlertManagement/CreateAlertDefinitionRsExceptionInfoFault", 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/CreateAlertDefinition", ReplyAction="http://schemas.microsoft.com/sqlserver/reporting/2010/10/01/AlertManagement/AlertManagement/CreateAlertDefinitionResponse")]
public Guid CreateAlertDefinition (AlertingWcfProxy.AlertDefinitionCreate alertDefinition, AlertingWcfProxy.AlertSchedule schedule, AlertingWcfProxy.DeliveryTarget deliveryTarget);
[<System.ServiceModel.FaultContract(typeof(AlertingWcfProxy.RsExceptionInfo), Action="http://schemas.microsoft.com/sqlserver/reporting/2010/10/01/AlertManagement/AlertManagement/CreateAlertDefinitionRsExceptionInfoFault", 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/CreateAlertDefinition", ReplyAction="http://schemas.microsoft.com/sqlserver/reporting/2010/10/01/AlertManagement/AlertManagement/CreateAlertDefinitionResponse")>]
abstract member CreateAlertDefinition : AlertingWcfProxy.AlertDefinitionCreate * AlertingWcfProxy.AlertSchedule * AlertingWcfProxy.DeliveryTarget -> Guid
Public Function CreateAlertDefinition (alertDefinition As AlertDefinitionCreate, schedule As AlertSchedule, deliveryTarget As DeliveryTarget) As Guid

매개 변수

alertDefinition
AlertDefinitionCreate

경고 정의입니다.

schedule
AlertSchedule

경고 일정입니다.

deliveryTarget
DeliveryTarget

배달 대상입니다.

반환

Guid

경고 정의 식별자입니다.

특성

적용 대상