Share via


GlobalConfig.Sites

Ee823942.c++_on(en-US,CS.10).gifEe823942.vb_off(en-US,CS.10).gif

Use this method to retrieve a list of all the sites available in the Administration database.This method returns a Recordset object that contains a single record; the number of fields in the Fields collection is equal to the number of sites in the Commerce Server 2000 installation. Each Fields collection contains the name of one of the sites.

Definition

Function Sites (

) As Object

Parameters

None.

Return Values

If this method completes successfully, it returns a Recordset object that contains a list of all the sites available in the Administration data store.

Error Values

This method sets the Number property of the global Err object to S_OK (&H00000000) to indicate success and to standard COM error values to indicate failure. For more information about standard COM errors, see Standard COM Errors. Additional information may be available using the global Err object. In particular, the Description property may contain a text description of the error.

All ADO, SQL, and ODBC errors will also be returned by this method.

Remarks

The Initialize method must be called before this method can be called.

For more information about memory ownership issues related to COM property and method parameters, see Managing COM Parameter Memory.

See Also

GlobalConfig Object


All rights reserved.