Share via


Database.Name Property

Gets or sets the name of the mailbox database.

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

Syntax

'Declaration
<ParameterAttribute(Mandatory := False)> _
<ValidateNotNullOrEmptyAttribute> _
Public Property Name As String
    Get
    Set
'Usage
Dim instance As Database
Dim value As String

value = instance.Name

instance.Name = value
[ParameterAttribute(Mandatory = false)]
[ValidateNotNullOrEmptyAttribute]
public string Name { get; set; }

Property Value

Type: System.String
The name of the mailbox database.