AlertManagement.CreateSessionForEdit(Guid, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new alerting session for the existing alert definition.
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
Parameters
- alertDefinitionId
- Guid
The alert definition ID.
- previewRowsCount
- Int32
The maximum number of rows in the preview data.
Returns
An alerting session identifier.
- Attributes