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

報表服務工作階段執行識別碼。

傳回

Guid

警示工作階段識別碼。

屬性

適用於