Transfers the ownership for the given alertSet.

Namespace: ININ.IceLib.Statistics.Alerts
Assembly: 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

ExceptionCondition
System..::..ArgumentExceptiona parameter is an empty string.
System..::..ArgumentNullExceptiona parameter is nullNothingnullptra null reference (Nothing in Visual Basic).
System..::..InvalidOperationExceptionCan not transfer ownership of a default alert set.
ININ.IceLib..::..InsufficientRightsExceptionInsufficient rights to transfer the ownership of the AlertSet.
ININ.IceLib.Connection..::..RequestTimeoutExceptionThe request timed out while waiting for a response.
ININ.IceLib.Connection..::..SessionDisconnectedExceptionThe Session does not have a valid connection.
System..::..ObjectDisposedExceptionThe 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.

See Also