Share via


CReplicationServer.MapUrl Method

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Retrieves the Commerce Server Staging (CSS) project that matches a specified URL.

Note

This method supports CSS but should not be used directly from your code. It is for Microsoft internal use only.

object.MapUrl(string URL, out suffix)

Parameters

  • URL
    The destination URL.

  • suffix
    Set this argument to an empty string ("") before you call this method. CSS returns the relative path from the base project directory that maps to the destination URL.

Return Value

A CReplicationProject object that matches the specified URL, or an empty object if no match is found.

Remarks

This method finds the first match of the specified URL in a CSS project.

The CReplicationServer.MapUrl method corresponds to the COM method named ReplicationServer.MapUrl.

See Also

Other Resources

CReplicationProject Class

CReplicationServer Class