Share via


AdminWebServer Object

Ee823344.c++_on(en-US,CS.10).gifEe823344.vb_off(en-US,CS.10).gif

Use this object to enumerate all Web sites on a server, to obtain the properties of those Web sites, and to enumerate all Commerce sites on a Web site.

ProgID:   Commerce.AdminWebServer (Externally creatable)
COM Class Name:   AdminWebServer
Type Library Name:   Commerce Admin 1.0 Type Library
DLL Name:   MSCSadmin.dll
Threading Model:   Both

The methods of the AdminWebServer object are shown in the following table.

Method Description
GetCommerceSites Given a server instance of a Web Site, enumerates all Site Server 3.0 Commerce Edition sites under that Web site.
GetWebSiteProperties Given a server instance, returns the properties of the site as name/value pairs in a Dictionary object.
GetWebSites Enumerates all Web sites. Returns an array of numbers representing all Web sites (server instances).

Remarks

Active Server Pages (ASP) scripts that access the Microsoft Internet Information Services (IIS) metabase require administrator privileges on the computer on which IIS is running. When you execute these scripts from a remote computer, you must connect through a secure connection, such as the Microsoft Windows NT Challenge/Response Authentication method. You can create a server or directory for your administrative .asp files and set the directory security authentication method to Windows NT Challenge/Response for the server or directory.

See Also

Configuration Objects


All rights reserved.