Database.ServerName Property

Gets the name of the server that contains the mailbox database.

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

Syntax

'Declaration
Public ReadOnly Property ServerName As String
    Get
'Usage
Dim instance As Database
Dim value As String

value = instance.ServerName
public string ServerName { get; }

Property Value

Type: System.String
The name of the server that contains the mailbox database.