Previous in Contents Next in Contents

AdminWebServer.GetWebSiteProperties Method

The GetWebSiteProperties method, given a site's server instance, returns the properties of the site as name/value pairs in a Dictionary object.

Syntax

AdminWebServer.GetWebSiteProperties(ServerInstance)

Parameters

ServerInstance
A numeric value expressed as a string, representing a server instance of a Web site.

Example

The following example creates a Dictionary object containing properties for the default Web site (whose instance is 1), then displays the value of the VrPath property:

Set objDict = objWebServer.GetWebSiteProperties(1)
Response.Write objDict.VrPath

© 1997-2000 Microsoft Corporation. All rights reserved.