SiteConfig.GetAppsInSite

Ee797192.c++_on(en-US,CS.10).gifEe797192.vb_off(en-US,CS.10).gif

Use this method to get a list of Commerce Server 2000 applications for the specified site.

Definition

Function GetAppsInSite(strSiteName As String) As Variant

Parameters

strSiteName

A String that contains the name of the site for which you want the list of running Commerce Server 2000 applications.

Return Values

If this method completes successfully, it returns a Variant that contains the list of Commerce Server 2000 applications.

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 used.

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

Example

' sMySiteName is a string
' vVariant is a Variant
' oSiteConfig is a Commerce SiteConfig object
vVariant = oSiteConfig.GetAppsInSite(sMySiteName)

See Also

SiteConfig Object


All rights reserved.