Freigeben über


AlertManagement.CreateSession(String, String, Int32, String) Methode

Definition

Erstellt eine Warnungsbenutzersitzung und füllt verwandte Feeddefinitionen, Schema- und Vorschaudaten auf.

public:
 Guid CreateSession(System::String ^ reportUrl, System::String ^ parameters, int previewRowsCount, System::String ^ rsExecutionId);
[System.ServiceModel.FaultContract(typeof(AlertingWcfProxy.RsExceptionInfo), Action="http://schemas.microsoft.com/sqlserver/reporting/2010/10/01/AlertManagement/AlertManagement/CreateSessionRsExceptionInfoFault", 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/CreateSession", ReplyAction="http://schemas.microsoft.com/sqlserver/reporting/2010/10/01/AlertManagement/AlertManagement/CreateSessionResponse")]
public Guid CreateSession (string reportUrl, string parameters, int previewRowsCount, string rsExecutionId);
[<System.ServiceModel.FaultContract(typeof(AlertingWcfProxy.RsExceptionInfo), Action="http://schemas.microsoft.com/sqlserver/reporting/2010/10/01/AlertManagement/AlertManagement/CreateSessionRsExceptionInfoFault", 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/CreateSession", ReplyAction="http://schemas.microsoft.com/sqlserver/reporting/2010/10/01/AlertManagement/AlertManagement/CreateSessionResponse")>]
abstract member CreateSession : string * string * int * string -> Guid
Public Function CreateSession (reportUrl As String, parameters As String, previewRowsCount As Integer, rsExecutionId As String) As Guid

Parameter

reportUrl
String

Die URL zum Bericht.

parameters
String

Die URL-codierte Parameterzeichenfolge.

previewRowsCount
Int32

Die maximale Anzahl von Zeilen in den Vorschaudaten.

rsExecutionId
String

Die Sitzungsausführungs-ID für Reporting Services.

Gibt zurück

Guid

Ein Warnungssitzungsbezeichner.

Attribute

Gilt für: