IEntityServiceTGet Method (String, Guid) |
Gets an entity by its name.
Namespace:
Dundas.BI.Entities
Assembly:
Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (9.0.0.1000)
SyntaxT Get(
string name,
Guid parentId
)
Function Get (
name As String,
parentId As Guid
) As T
T Get(
String^ name,
Guid parentId
)
abstract Get :
name : string *
parentId : Guid -> 'T
Parameters
- name
- Type: SystemString
The name of the entity to get. - parentId
- Type: SystemGuid
The ID of the parent.
Return Value
Type:
TThe entity with the specified name.
Exceptions| Exception | Condition |
|---|
| ArgumentException | name is or empty. |
| NotFoundException | The entity with the specified name does not exist or is currently recycled. -or- The parent with the specified ID does not exist. |
| NoPrivilegeException | Caller does not have the Read privilege on the specified entity. |
| InvalidSessionException | The caller context is not associated with a valid session. |
See Also