Accessing Data Using the ##SCHEMAURI## Macro

Topic Last Modified: 2006-06-12

This topic applies to Exchange 2000 Server SP1 or later.

All WebDAV methods are valid against URLs containing the schema Uniform Resource Identifier (URI) and will maintain their expected functionality. Any HREFs that are generated as a part of a response from requests containing the schema URL will also contain the schema URI. All of the resources contained in the folder and in the children of the folder can be accessed with this URI.

The following are examples of URLs containing the ##SCHEMAURI## macro:

  • http://server/public/##SCHEMAURI##
  • http://server/public/##SCHEMAURI##/default/test
  • http://server/applications/##SCHEMAURI##/microsoft/ExchangeV1

Binding with the OLE DB bind or any WebDAV command to any URL that contains the ##SCHEMAURI## macro is also supported. The binding will act as if the URL had specified the server and application folder name(s) to the left of the ##SCHEMAURI## macro string concatenated with the schema folder.

Using the ##SCHEMAURI## Macro in Property Values

The ##SCHEMAURI## macro can also be employed in the schema-collection-ref Field and the baseschema Field. Using the new macro, these properties can be set using a relative path or an absolute path.

Relative path using ##SCHEMAURI##

urn:schemas.microsoft.com:exch-data:baseschema =  _
Array("/##SCHEMAURI##/microsoft/ExchangeV1")

Absolute path using ##SCHEMAURI##

urn:schemas.microsoft.com:exch-data:baseschema =  _
Array("https://server/public/##SCHEMAURI##/microsoft/ExchangeV1")

See Also

Other Resources

The ##SCHEMAURI## Macro