VirtualDirectoryIdParameter.RoleRestriction Property

Gets the server roles used to filter the results of a request for a virtual directory.

Namespace:  Microsoft.Exchange.Configuration.Tasks
Assembly:  Microsoft.Exchange.Configuration.ObjectModel (in Microsoft.Exchange.Configuration.ObjectModel.dll)

Syntax

'Declaration
Protected Overrides ReadOnly Property RoleRestriction As ServerRole
    Get
'Usage
Dim value As ServerRole

value = Me.RoleRestriction
protected override ServerRole RoleRestriction { get; }

Property Value

Type: Microsoft.Exchange.Data.Directory.SystemConfiguration.ServerRole
The server roles that will be returned.

Remarks

The RoleRestriction property returns a flag enumeration value with the following server roles set: