A Sandcastle Documented Class Library

# ICustomAttributeService GetCustomAttributeReferences Method

Gets the references of the specified custom attribute.

Namespace: Dundas.BI.AccountServices
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    (ICollection<MemberInfo> Accounts, ICollection<MemberInfo> Groups, ICollection<Guid> EntityIds) GetCustomAttributeReferences(
    	Guid attributeId,
    	GetEntryOptions options
    )

    Function GetCustomAttributeReferences (
    	attributeId As Guid,
    	options As GetEntryOptions
    ) As (Accounts As ICollection(Of MemberInfo), Groups As ICollection(Of MemberInfo), EntityIds As ICollection(Of Guid))

    ValueTuple<ICollection<MemberInfo^>^, ICollection<MemberInfo^>^, ICollection<Guid>^> GetCustomAttributeReferences(
    	Guid attributeId,
    	GetEntryOptions options
    )

    abstract GetCustomAttributeReferences :
            attributeId : Guid *
            options : GetEntryOptions -> ValueTuple<ICollection<MemberInfo>, ICollection<MemberInfo>, ICollection<Guid>>

#### Parameters

attributeId
  Type: System
  Guid
  ID of the custom attribute.
options
  Type: Dundas.BI.FileSystem
  GetEntryOptions
  Options affecting the behavior of the retrieval of the referencing entities.

#### Return Value

Type: ValueTuple
ICollection
MemberInfo
, ICollection
MemberInfo
, ICollection
Guid
A tuple of collections of objects referencing the specified custom attribute. The tuple contains: 1. A collection of objects representing limited account information. 2. A collection of objects representing limited group information. 3. A collection of entity IDs.
Exceptions

Exception | Condition
--- | ---
ArgumentException | attributeId is Empty.
NoPrivilegeException | The caller does not have administrative privileges.
InvalidSessionException | The caller context is not associated with a valid session.

Remarks
Note that the methods only returns information about accounts and groups which have the specified custom attribute directly set on them. Group inheritance is not evaluated.
See Also

#### Reference

ICustomAttributeService Interface
Dundas.BI.AccountServices Namespace