Sets the active alias table in the active database for a user.
Syntax
ESS_FUNC_M EssSetAlias (hCtx, AliasName);
| Parameter | Data Type | Description |
|---|---|---|
hCtx | ESS_HCTX_T | API context handle. |
AliasName | ESS_STR_T | Name of alias table to set active. |
Return Value
None.
Example
ESS_FUNC_M
ESS_SetAlias (ESS_HCTX_T hCtx)
{
ESS_FUNC_M sts = ESS_STS_NOERR;
ESS_STR_T AliasName;
AliasName = "TestAlias";
sts = EssSetAlias (hCtx, AliasName);
return (sts);
}See Also