Share via


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.

See also

Reference

ExchangeServer class

ExchangeServer members

Microsoft.Exchange.Data.Directory.Management namespace