Accessing Data Using the ##SCHEMAURI## Macro

Accessing Data Using the ##SCHEMAURI## Macro

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

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:

  • https://server/public/##SCHEMAURI##
  • https://server/public/##SCHEMAURI##/default/test
  • https://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")

Send us your feedback about the Microsoft Exchange Server 2003 SDK.

Build: June 2007 (2007.618.1)

© 2003-2006 Microsoft Corporation. All rights reserved. Terms of use.