ADObject.Name Property

Gets or sets the name associated with this object.

Namespace:  Microsoft.Exchange.Data.Directory
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 ADObject
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 associated with the object.