AlertManagement.GetDeliveryTargets(Guid) Method

Definition

Returns the collection of the delivery targets for the existing alert definition.

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

Parameters

alertDefinitionId
Guid

The alert definition ID.

Returns

The collection of the delivery target records.

Attributes

Applies to