The Initialize method initializes the namespace, providing the name of client application.
SQLNamespace Object |
object.Initialize(
bstrAppName,
[rootType],
[pRootInfo],
[hWnd])
Part | Description |
---|---|
object | Expression that evaluates to an object in the Applies To list |
bstrAppName | Name of the client application |
rootType | Type of object to set as root |
pRootInfo | Root information |
hWnd | Window handle |
Optionally, provides the default parent window for the user interface, and also a nondefault root of the namespace. For more information about the connectstring, see Programming SQL-NS Applications.
HRESULT Initialize(
BSTR bstrAppName,
SQLNSRootType rootType,
VARIANT * pvarRootInfo,
long hWnd);