Page.SiteRoot

Ee797611.c++_on(en-US,CS.10).gifEe797611.vb_off(en-US,CS.10).gif

Use this method to return the physical directory that contains the Commerce Server site.

Ee797611.important(en-US,CS.10).gif Important

  • This method is included for backwards compatibility with Site Server 3.0 Commerce Edition.

Definition

Function SiteRoot() As String

Parameters

None.

Return Values

If this method completes successfully, it returns a String that contains the physical directory path.

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.

See Also

Page Object

Page.VirtualDirectory


All rights reserved.