Share via


ServerGroup.Create Method

Creates a registered server on the instance of SQL Server as defined by the ServerGroup object.

Namespace:  Microsoft.SqlServer.Management.RegisteredServers
Assembly:  Microsoft.SqlServer.Management.RegisteredServers (in Microsoft.SqlServer.Management.RegisteredServers.dll)

Syntax

'Declaration
Public Sub Create
'Usage
Dim instance As ServerGroup

instance.Create()
public void Create()
public:
virtual void Create() sealed
abstract Create : unit -> unit 
override Create : unit -> unit 
public final function Create()

Implements

ICreatable.Create()

Remarks

The Create method creates the server group on the instance of SQL Server. You can create a ServerGroup object variable and set properties, but the server group is not created on the instance of SQL Server until the Create method is called.

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.