EsbSetSpanRelationalSource

Sets the Boolean bSpanRelPart field informing Essbase that pertinent data exists in an attached relational store. Some other API functions, such as EsbQueryDatabaseMembers, read bSpanRelPart and access the relational store if bSpanRelPart is set.

Syntax

Declare Function EsbSetSpanRelationalSource Lib "esbapin" (ByVal hCtx As Long) As Long
ParameterDescription

hCtx

API context handle.

Notes

Several API functions have been enhanced to retrieve information from relational stores.

Return Value

None.

Access

This function requires the caller to have read privilege (ESS_PRIV_READ) to one or more members in the active database.

Example

  Declare Function EsbSetRelationalSource Lib "ESBAPIN" (ByVal hCtx As Long) As Long
  
  Sub ESB_SetRelationalSource ()
     Dim sts As Long
  
     '*************************
     ' Set the bSpanRelPart  field
     '*************************
     sts = EsbSetRelationalSource (hCtx)
  
  End Sub

See Also

  • EsbClrSpanRelationalSource