Example XML Request
No example XML request.
Example XML Response
<response>
<data>
<orgLdapPath>LDAP://OU=WingTipToys,OU=consolidatedmessenger,OU=Hosting,DC=fabrikam,DC=Com</orgLdapPath>
<databaseName>Impl1</databaseName>
<preferredDomainController>AD01-wh.fabrikam.com</preferredDomainController>
<logicalName>dataFiles</logicalName>
<fileMaxSize>300MB</fileMaxSize>
<fileGrowth>20MB</fileGrowth>
</data>
</response>
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.
objWS.PreAuthenticate = true;
objWS.Credentials = new NetworkCredential(userName,pass);
lblMsg.InnerHtml = mpsResponseHeaderLabel;
//Display response.
this.mpsResponse.DocumentSource = "";
response = objWS.ModifyDatabaseSize(orgLdapPath, databaseName, preferredDomainController, fileSize, fileGrowth, fileMaxSize, newLogicalName, logicalName, sqlUserName, sqlUserPass, true);
// set the response XML to match the return from MPF
responseXml.LoadXml(response);
this.mpsResponse.Document = responseXml;