EsbOtlSetDTSMemberAlias

Sets an alias name for a DTS member.

Syntax

EsbOtlSetDTSMemberAlias (hOutline, pszDTSMember, pszAlias, pszAliasTable)
ByVal hOutline      As Long
ByVal pszDTSMember  As String
ByVal pszAlias      As String
ByVal pszAliasTable As String
ParameterDescription

hOutline

Essbase outline handle returned from the EsbOtlOpenOutlineQuery call.

pszDTSMember

Name of the DTS member which provides the alias.

pszAlias

Pointer to a C string containing the alias name for the DTS member.

pzsAliasTable

Name of the alias table which provides the alias. If NULL, the default alias table is used.

Return Value

If successful the return value is zero. Otherwise, one of the following is returned:

Example

Public Sub ESB_OtlSetDTSMemberAlias()
   Dim DTSMember As String * ESB_MBRNAMELEN
   Dim Alias As String * ESB_ALIASNAMELEN
   Dim AliasTable As String * ESB_ALIASNAMELEN
   
   DTSMember = "Y-T-D"
   Alias = "Year_To_Date"
   AliasTable = "default"
   
   sts = EsbOtlSetDTSMemberAlias(hOutline, DTSMember, _ 
                                 Alias, AliasTable)
End Sub

See Also