ExchangeServer.ServerRole Property

Gets the server role that is assigned to this Exchange server.

Namespace:  Microsoft.Exchange.Data.Directory.Management
Assembly:  Microsoft.Exchange.Data.Directory (in Microsoft.Exchange.Data.Directory.dll)

Syntax

'Declaration
Public ReadOnly Property ServerRole As ServerRole
    Get
'Usage
Dim instance As ExchangeServer
Dim value As ServerRole

value = instance.ServerRole
public ServerRole ServerRole { get; }

Property Value

Type: Microsoft.Exchange.Data.Directory.SystemConfiguration.ServerRole
A bitwise combination of the ServerRole enumeration values.