The CreateVDir method accepts the following input
parameters.
Input Argument |
Required |
Description |
ConfigPath |
No |
The IIS path to the parent site. |
Path |
No |
The file path for virtual directory. |
VirtualDirName |
No |
The name or alias for vdir. |
DisplayName |
No |
The display name. |
AppCreate |
No |
A flag to create an application. |
AppIsolationLevel |
No |
The Application Isolation Level property. |
AccessRead |
No |
The Read permissions property. |
AccessScript |
No |
The Script permissions property. |
AccessWrite |
No |
The Write permissions property. |
AccessExecute |
No |
The Execute permissions property. |
PreferredDomainController |
No |
The domain controller to use for this operation. |
SendCredentials |
No |
True/False: embed basic authentication credentials in the MPF
request. |
ErrorReturn |
No |
Out parameter containing the error (if any) thrown by MPF
during the processing of the request. |
The CreateVDir method has the following return values.
Output Argument |
Description |
True |
If the method succeeds. |
False |
If the method fails to create the virtual directory. |