Share via


AlertManagement.CreateAlertDefinition Método

Definición

Crea las definiciones de alertas a partir de la sesión actual.

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

Parámetros

alertDefinition
AlertDefinitionCreate

Definición de la alerta.

schedule
AlertSchedule

Programación de la alerta.

deliveryTarget
DeliveryTarget

Destino de la entrega.

Devoluciones

Guid

Identificador de la definición de la alerta.

Atributos

Se aplica a