Language

IHomeGroupProvider.CreateHomeGroup Method

[IHomeGroupProvider.CreateHomeGroup is no longer available for use as of Windows Server 2012 Essentials.] Creates a homegroup with the specified creator name.

Namespace: Microsoft.WindowsServerSolutions.HomeGroup
Assembly: WSSHomeGroupObjectModel (in WSSHomeGroupObjectModel.dll)

Usage

'Usage
Dim instance As IHomeGroupProvider
Dim creatorName As String

instance.CreateHomeGroup(creatorName)

Syntax

'Declaration
<OperationContractAttribute(IsOneWay:=True)> _
Sub CreateHomeGroup ( _
    creatorName As String _
)
[OperationContractAttribute(IsOneWay=true)] 
void CreateHomeGroup (
    string creatorName
)
[OperationContractAttribute(IsOneWay=true)] 
void CreateHomeGroup (
    String^ creatorName
)
/** @attribute OperationContractAttribute(IsOneWay=true) */ 
void CreateHomeGroup (
    String creatorName
)
OperationContractAttribute(IsOneWay=true) 
function CreateHomeGroup (
    creatorName : String
)

Parameters

  • creatorName
    The name of the creator of the homegroup.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2008 R2 x64, Windows 7 x64, Windows Server 2008 x64, Windows Vista x64

See Also

Reference

IHomeGroupProvider Interface
IHomeGroupProvider Members
Microsoft.WindowsServerSolutions.HomeGroup Namespace

Copyright © 2012 by Microsoft Corporation. All rights reserved.