Share via


ServerManager.VirtualDirectoryDefaults Property

Definition

Gets an object that defines the default values for all virtual directories that are configured on the current server.

public:
 property Microsoft::Web::Administration::VirtualDirectoryDefaults ^ VirtualDirectoryDefaults { Microsoft::Web::Administration::VirtualDirectoryDefaults ^ get(); };
public Microsoft.Web.Administration.VirtualDirectoryDefaults VirtualDirectoryDefaults { get; }
member this.VirtualDirectoryDefaults : Microsoft.Web.Administration.VirtualDirectoryDefaults
Public ReadOnly Property VirtualDirectoryDefaults As VirtualDirectoryDefaults

Property Value

A VirtualDirectoryDefaults object that defines default configuration values for all virtual directories on the current server.

Remarks

The values defined in this object will configure all virtual directories on the current server that do not explicitly provide override values. You can set default configuration values for all virtual directories on the server by using the object that this property gets. You can also specify default virtual directory values for each Site object by using the Microsoft.Web.Administration.Site.VirtualDirectoryDefaults property or for each Application object by using the Microsoft.Web.Administration.Application.VirtualDirectoryDefaults property.

Applies to