Share via


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:

See also

Reference

VirtualDirectoryIdParameter class

VirtualDirectoryIdParameter members

Microsoft.Exchange.Configuration.Tasks namespace