Transfers the ownership for the given alertSet.
Namespace: ININ.IceLib.Statistics.AlertsAssembly: ININ.IceLib.Statistics (in ININ.IceLib.Statistics.dll) Version: 0.0.0.0 (22.3.0.218)
Syntax
C# |
---|
public void TransferOwnership( string userId, AlertSet alertSet ) |
Visual Basic |
---|
Public Sub TransferOwnership ( _ userId As String, _ alertSet As AlertSet _ ) |
Parameters
- userId
- Type: System..::..String
The user ID.
- alertSet
- Type: ININ.IceLib.Statistics.Alerts..::..AlertSet
The alert set.
Exceptions
Exception | Condition |
---|---|
System..::..ArgumentException | a parameter is an empty string. |
System..::..ArgumentNullException | a parameter is nullNothingnullptra null reference (Nothing in Visual Basic). |
System..::..InvalidOperationException | Can not transfer ownership of a default alert set. |
ININ.IceLib..::..InsufficientRightsException | Insufficient rights to transfer the ownership of the AlertSet. |
ININ.IceLib.Connection..::..RequestTimeoutException | The request timed out while waiting for a response. |
ININ.IceLib.Connection..::..SessionDisconnectedException | The Session does not have a valid connection. |
System..::..ObjectDisposedException | The Session has been disposed. |
Version Information
Supported for IC Server version 2015 R1 and beyond.
For 4.0, supported for IC Server version 4.0 SU 4 and beyond.
For 4.0, supported for IC Server version 4.0 SU 4 and beyond.