IClientManagerTryGetByGuid Method |
[This is preliminary documentation and is subject to change.]
Retrieves a client based on its GUID.
Namespace: Netadmin.Management.OAuth2Assembly: Netadmin.Management.Interfaces (in Netadmin.Management.Interfaces.dll) Version: release/9.0@131b654fe7332b0776120c2b44d96c6cac5ac9a2
SyntaxIClient TryGetByGuid(
Guid clientGuid
)
Function TryGetByGuid (
clientGuid As Guid
) As IClient
Parameters
- clientGuid
- Type: SystemGuid
The client GUID.
Return Value
Type:
IClientA client if exactly one client can be retrieved with the GUID, otherise null will be returned.
ExceptionsException | Condition |
---|
ArgumentException | Thrown if clientGuid is empty. |
See Also