AlertManagement.CreateSession(String, String, Int32, String) Метод

Определение

Создает пользовательский сеанс конструктора предупреждений и заполняет соответствующие определения потоков данных, схему и данные для предварительного просмотра.

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

Параметры

reportUrl
String

URL-адрес отчета.

parameters
String

Строка параметров в формате URL.

previewRowsCount
Int32

Максимальное число строк в данных для предварительного просмотра.

rsExecutionId
String

Идентификатор выполнения сеанса служб Reporting Services.

Возвращаемое значение

Идентификатор сеанса создания предупреждений.

Атрибуты

Применяется к