[HomeGroupManager.JoinHomeGroupAsync is no longer available for use as of Windows Server 2012 Essentials.] Asynchronously joins a user account to the homegroup.
Assembly: WSSHomeGroupObjectModel (in WSSHomeGroupObjectModel.dll)
'Usage Dim instance As HomeGroupManager Dim password As String Dim joiner As String instance.JoinHomeGroupAsync(password, joiner)
'Declaration Public Sub JoinHomeGroupAsync ( _ password As String, _ joiner As String _ )
public void JoinHomeGroupAsync ( string password, string joiner )
public: void JoinHomeGroupAsync ( String^ password, String^ joiner )
public void JoinHomeGroupAsync ( String password, String joiner )
public function JoinHomeGroupAsync ( password : String, joiner : String )
The password that is used to join the homegroup.
The name of the user account that is joining the homegroup.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Windows Server 2008 R2 x64, Windows 7 x64, Windows Server 2008 x64, Windows Vista x64
Copyright © 2012 by Microsoft Corporation. All rights reserved.