Share via


DistributionGroup.SamAccountName Property

Gets or sets the name for clients of the object running on older operating systems.

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

Syntax

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

value = instance.SamAccountName

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

Property Value

Type: System.String
The name for clients of the object running on older operating systems.