Gets the custom profile for a specific application's profile.
Namespace: ININ.IceLib.Connection.ExtensionsAssembly: ININ.IceLib (in ININ.IceLib.dll) Version: 0.0.0.0 (22.3.0.218)
Syntax
C# |
---|
public static CustomProfile GetOtherApplicationCustomProfile( Session session, string applicationProfileName ) |
Visual Basic |
---|
Public Shared Function GetOtherApplicationCustomProfile ( _ session As Session, _ applicationProfileName As String _ ) As CustomProfile |
Parameters
- session
- Type: ININ.IceLib.Connection..::..Session
The session.
- applicationProfileName
- Type: System..::..String
The application's profile name to use.
Return Value
A CustomProfile that uses the applicationProfileName for getting profile information.Remarks
Custom profile information retrieved this way is read-only if the applicationProfileName
does not match the value provided on the session's ApplicationProfileName.
Exceptions
Exception | Condition |
---|---|
System..::..ArgumentNullException | A parameter is nullNothingnullptra null reference (Nothing in Visual Basic). |
System..::..ArgumentException | A parameter is Empty. |
ININ.IceLib..::..ServerOperationNotSupportedException | The server does not support setting the profile name for custom profiles. |
Version Information
Supported for IC Server version 2015 R1 and beyond.
For 4.0, supported for IC Server version 4.0 SU 2 and beyond.
For 4.0, supported for IC Server version 4.0 SU 2 and beyond.