Enables a new DTS member for the outline.
Syntax
EsbOtlEnableDTSMember (hOutline, pszDTSMember, usGen, bEnable) ByVal hOutline As Long ByVal pszDTSMember As String ByVal usGen As Integer ByVal bEnable As Integer
| Parameter | Description |
|---|---|
hOutline | Essbase outline handle returned from the EsbOtlOpenOutline function. |
pszDTSMember | A string containing the name of the DTS member to enable. |
usGen | The generation number at which to enable the DTS member. |
bEnable | A flag. True means enable the member, false means disable the member. |
Notes
This function also fills in the ESB_DTSMBRNAME_T structure passed to it.
Return Value
If successful the return value is zero. Otherwise, returns the status of the EsbOtlQueryMembers() call.
Example
Public Sub ESB_OtlEnableDTSMember()
Dim DTSMember As String
Dim GenNum As Integer
Dim Enable As Integer
DTSMember = "H-T-D"
GenNum = 1
Enable = ESB_TRUE
sts = EsbOtlEnableDTSMember(hOutline, DTSMember, _
GenNum, Enable)
End SubSee Also