AlertManagement.CreateSession(String, String, Int32, String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立警示使用者工作階段,並填入相關的摘要定義、結構描述和預覽資料。
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
報表服務工作階段執行識別碼。
傳回
警示工作階段識別碼。
- 屬性