Creating Property Definitions

Creating Property Definitions

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.

This tutorial example creates two simple properties: color and quantity.

To create a property definition

  1. Select the AppA schema folder.
  2. In the Schema Detail View pane, right-click Property Definitions.
  3. From the pop-up menu, click Add Property Definition. A Property Definition (New) dialog box appears.
  4. In the Definition name text box, specify the complete namespace and property name. For this tutorial, the property is named color, and belongs to the urn:schemas:microsoft-com:sample1: namespace, so the full name is urn:schemas:microsoft-com:sample1:color.
  5. In the Save as item name text box, specify a name for the item that will contain the property definition. This tutorial uses p_color.def.
  6. Specify a Data Type. Specify the string for the Color property.
  7. You can optionally specify Version and Default values.
  8. If you would like to access the advanced options, click Advanced.
  9. If you would like to enable indexing through the SQL Create Index command, select the Is Indexed check box.
  10. Click OK.
  11. Repeat this procedure and create a property definition for the urn:schemas:microsoft-com:sample1:quantity property, with an item name of p_qty.def and a number data type.

The Explorer creates the property definition. Right-click the definition for a pop-up menu of editing choices.

Note  The content class for a property definition item itself is required to be urn:content-classes:propertydef, which is set automatically by the Explorer.

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.