A Sandcastle Documented Class Library

# IComponentService GetFunction Method (Guid)

Returns a function instance for the requested function ID.

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

    FunctionDefinition GetFunction(
    	Guid functionId
    )

    Function GetFunction (
    	functionId As Guid
    ) As FunctionDefinition

    FunctionDefinition^ GetFunction(
    	Guid functionId
    )

    abstract GetFunction :
            functionId : Guid -> FunctionDefinition

#### Parameters

functionId
  Type: System
  Guid
  The function ID.

#### Return Value

Type: FunctionDefinition
The requested function.
Exceptions

Exception | Condition
--- | ---
ArgumentException | functionId is Empty or functionId is not an existing function ID.
InvalidSessionException | The caller context is not associated with a valid session.

See Also

#### Reference

IComponentService Interface
GetFunction Overload
Dundas.BI.Data Namespace