The DefaultVNConfigurationPath property contains the default directory searched by the web application to create lists of available virtual network configuration files.
This property is read-only.
Syntax
HRESULT get_DefaultVNConfigurationPath(
[out] BSTR *configurationPath
);
| VB |
|---|
|
Property value
The default virtual network configurations directory path. In the path string, a backslash () may appear immediately before the terminating null character.
This property value is read-only.
Error codes
| Name | Meaning |
|---|---|
|
The operation was successful. |
|
The configurationPath parameter is NULL. |
|
An unexpected error occurred. |
Remarks
By default, this property value is set to the "%ALLUSERSPROFILE%\Documents\Shared Virtual Networks\" directory.
Examples
The following example displays the DefaultVNConfigurationPath property value of the VMVirtualServer object.
Set objVS = CreateObject("VirtualServer.Application")
Wscript.Echo "Name: " & objVS.Name
Wscript.Echo "Default VN configuration path: " & _
objVS.DefaultVNConfigurationPath
Requirements
| Product |
Microsoft Virtual Server 2005 onWindows Server 2003 |
| Download |
Microsoft Virtual Server 2005 R2 SP1 Update onWindows Server 2008orWindows Server 2003 |
| Header |
|