RDSIE3.DataSpace Object, CreateObject Method Example

The following example shows how to use the CreateObject method with the default business object, RDSIE3.DataFactory.

<OBJECT CLASSID="clsid: 99586D40-DB60-11cf-9D87-00AA00B91181" ID="ADS1"
</OBJECT>
.
.
.
Set rsData = ADS1.CreateObject _
	("RDSServer.DataFactory", "http://SalesWeb")

The following example shows how to use the CreateObject method to instantiate a custom business object, CustomerRanking.Customer. It also uses the Active Server Pages scripting to identify the Web server name.

Set GCustomer =  ADS1.CreateObject _
	("CustomerRanking.Customer", _
	"http://<%=Request.ServerVariables("SERVER_NAME")%>")