AlertManagement.CreateSessionForEdit(Guid, Int32) 方法

定义

为现有的警报定义创建一个新的警报会话。

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

参数

alertDefinitionId
Guid

警报定义 ID。

previewRowsCount
Int32

预览数据中的最大行数。

返回

Guid

警报会话标识符。

属性

适用于