AdminWebServer.GetCommerceSites Method

The GetWebSiteProperties method, given a server instance of a Web site, enumerates all Commerce Server sites under that Web site. The method returns an array of numbers representing all Commerce Server site instances.

Syntax

AdminWebServer.GetCommerceSites(ServerInstance)

Parameters

ServerInstance
A numeric value expressed as a string, representing a site’s server instance.

Remarks

The GetCommerceSites method determines whether a site is a Commerce Server site by examining a reserved key in the metabase.

Example

For a complete example, see AdminWebServer Object Overview.


© 1997-1998 Microsoft Corporation. All rights reserved.