AlertManagement.CreateAlertDefinition Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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
Identificateur de la définition d'alerte.
- Attributs