Partager via


AlertManagement.CreateAlertDefinition Méthode

Définition

Crée les définitions d'alerte à partir de la session active.

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

Paramètres

alertDefinition
AlertDefinitionCreate

Définition d'alerte.

schedule
AlertSchedule

Planification d'alerte.

deliveryTarget
DeliveryTarget

Cible de remise.

Retours

Guid

Identificateur de la définition d'alerte.

Attributs

S’applique à