CreateObjectOnCluster

Instantiates an object on a cluster or application server.

Tip:

To instantiate a server-side object on a cluster or application server for an application that has been opened, use HsvSession’s CreateObject method.

Syntax

<HsxClient>.CreateObjectOnCluster(bstrClusterName, bstrClassIDOrProgID)

Argument

Description

bstrClusterName

String (ByVal). The name of the cluster or application server.

bstrClassIDOrProgID

String (ByVal). The name of the object to be instantiated.

Return Value

Object. CreateObjectOnCluster returns an instance of the object identified by the bstrClassIDOrProgID argument.