SetSession

Points to the HsvSession object that represents the connection to the application. You must call SetSession before using the other HsvStarSchemaACM methods.

Syntax

<HsvStarSchemaACM>.SetSession pIHsvSessionUnk

Argument

Description

pIHsvSessionUnk

HsvSession object (ByVal). The HsvSession object returned by HsxClient.OpenApplication or HsxClientUI.OpenApplication when the application was opened.

Example

SetSession is used in the example for EnumRegisteredDSNs.