Freigeben über


AlertManagement.CreateSessionForEdit(Guid, Int32) Methode

Definition

Erstellt eine neue Warnungssitzung für die vorhandene Warnungsdefinition.

public:
 Guid CreateSessionForEdit(Guid alertDefinitionId, int previewRowsCount);
[System.ServiceModel.FaultContract(typeof(AlertingWcfProxy.RsExceptionInfo), Action="http://schemas.microsoft.com/sqlserver/reporting/2010/10/01/AlertManagement/AlertManagement/CreateSessionForEditRsExceptionInfoFault", 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/CreateSessionForEdit", ReplyAction="http://schemas.microsoft.com/sqlserver/reporting/2010/10/01/AlertManagement/AlertManagement/CreateSessionForEditResponse")]
public Guid CreateSessionForEdit (Guid alertDefinitionId, int previewRowsCount);
[<System.ServiceModel.FaultContract(typeof(AlertingWcfProxy.RsExceptionInfo), Action="http://schemas.microsoft.com/sqlserver/reporting/2010/10/01/AlertManagement/AlertManagement/CreateSessionForEditRsExceptionInfoFault", 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/CreateSessionForEdit", ReplyAction="http://schemas.microsoft.com/sqlserver/reporting/2010/10/01/AlertManagement/AlertManagement/CreateSessionForEditResponse")>]
abstract member CreateSessionForEdit : Guid * int -> Guid
Public Function CreateSessionForEdit (alertDefinitionId As Guid, previewRowsCount As Integer) As Guid

Parameter

alertDefinitionId
Guid

Die Warnungsdefinitions-ID.

previewRowsCount
Int32

Die maximale Anzahl von Zeilen in den Vorschaudaten.

Gibt zurück

Guid

Ein Warnungssitzungsbezeichner.

Attribute

Gilt für: