Partager via


DomainAcquirer.JoinDomainAsync Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Starts an asynchronous join domain operation.

Namespace:  System.Windows.Media
Assembly:  System.Windows (in System.Windows.dll)

Syntax

'Declaration
Public Sub JoinDomainAsync ( _
    serviceId As Guid, _
    accountId As Guid, _
    domainServerUrl As Uri, _
    friendlyName As String _
)
public void JoinDomainAsync(
    Guid serviceId,
    Guid accountId,
    Uri domainServerUrl,
    string friendlyName
)

Parameters

  • serviceId
    Type: System.Guid
    The service identifier for this domain. serviceId is optional. If it is not required, you can specify Guid.Empty.
  • accountId
    Type: System.Guid
    The account identifier for this domain. accountId is optional. If it is not required, you can specify Guid.Empty.
  • domainServerUrl
    Type: System.Uri
    URL to the domain controller server which is used to manage domains.
  • friendlyName
    Type: System.String
    The friendly name for the account that can be shown to the user during domain certificate enumeration on the client application. friendlyName is optional. If it is not required, you can specify nulla null reference (Nothing in Visual Basic).

Version Information

Silverlight

Supported in: 5, 4

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.