IResourceManagerTryGetByGuid Method |
[This is preliminary documentation and is subject to change.]
Attempts to get a resource by its Guid
Namespace: Netadmin.Management.OAuth2Assembly: Netadmin.Management.Interfaces (in Netadmin.Management.Interfaces.dll) Version: release/9.0@131b654fe7332b0776120c2b44d96c6cac5ac9a2
SyntaxIResource TryGetByGuid(
Guid resourceGuid
)
Function TryGetByGuid (
resourceGuid As Guid
) As IResource
Parameters
- resourceGuid
- Type: SystemGuid
The guid for the resource
Return Value
Type:
IResourceThe resource if found, otherwise null
ExceptionsException | Condition |
---|
ArgumentException | Thrown if resourceGuid is empty. |
See Also