Deletes an existing filter.
Syntax
EsbDeleteFilter (hCtx, AppName, DbName, FltName) ByVal hCtx As Long ByVal AppName As String ByVal DbName As String ByVal FltName As String
Parameter | Description |
---|---|
hCtx | VB API context handle. |
AppName | Application name. |
DbName | Database name. |
FltName | Filter name. |
Return Value
None.
Access
This function requires the caller to have Database Design privilege (ESB_PRIV_DBDESIGN) for the specified database.
Example
Declare Function EsbDeleteFilter Lib "ESBAPIN" (ByVal hCtx As Long, ByVal AppName As String, ByVal DbName As String, ByVal FltName As String) As Long Sub ESB_DeleteFilter () Dim sts As Long Dim AppName As String Dim DbName As String Dim FilterName As String AppName = "Sample" DbName = "Basic" FilterName = "Filter" '************** ' Delete Filter '************** sts = EsbDeleteFilter (hCtx, AppName, DbName, FilterName) End Sub
See Also