DROP LIBRARY Statement

Analysis Services Programming

Analysis Services Programming

DROP LIBRARY Statement

This statement unloads the specified libraries.

BNF

<drop_library> ::= DROP LIBRARY <lib_list> | ALL

    <lib_list> ::= <lib_def> [, <lib_list>]

    <lib_def> ::= <prog_id> | <lib_name>

Remarks

When used with the ALL flag, DROP LIBRARY unloads all libraries loaded for that user session. Either a program ID or a file name is used to specify individual libraries.

Example

The following example removes MyLib.dll from use for the rest of the session.

DROP LIBRARY MyLib.MyClass