Hosted Exchange::CreatePlanFeatureTypes
This procedure creates new feature types in the customer plan database.
Arguments
Input Arguments | Required | Description |
---|---|---|
planFeaturesXmlString |
Yes |
One or more <feature> type definitions:
|
<preferredDomainController> |
Yes |
|
<xslDataType> |
No |
The optional XSL data type of the nativeAttribute (e.g. bin.hex). |
Output Arguments
None.
Remarks
Method Syntax
public string CreatePlanFeatureTypes(
string planFeaturesXmlString,
string preferredDomainController,
string xslDataType,
string sendCredentials)
Sample Code
Typical C# Usage
//Get user name and password.
string userName = this.Request.ServerVariables.Get("AUTH_USER");
string pass = this.Request.ServerVariables.Get("AUTH_PASSWORD");
//Set credentials.
hostedExch.PreAuthenticate = true;
hostedExch.Credentials = new NetworkCredential(userName,pass);
lblMsg.InnerHtml = mpsResponseHeaderLabel;
//Display response.
this.mpsResponse.DocumentSource = "";
response = hostedExch. CreatePlanFeatureTypes(planFeaturesXmlString, preferredDomainController, xslDataType, sendCredentials);
// set the response XML to match the return from MPF
responseXml.LoadXml(response);
this.mpsResponse.Document = responseXml;
lblDone.InnerText = successMsg;
Applies To
Hosted Exchange Web Service for:
Hosted Messaging and Collaboration version 3.5
Hosted Messaging and Collaboration version 3.0
See also
Tasks
Hosted Exchange::CreateMailboxPlan
Hosted Exchange::GetPlanDetail