Delen via


RegisteredServer.Create Method

Creates a registered server on the instance of SQL Server as defined by the RegisteredServer 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 RegisteredServer

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 registered server on the instance of SQL Server. You can create a RegisteredServer object variable and set properties, but the registered server 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.

See Also

Reference

RegisteredServer Class

Microsoft.SqlServer.Management.RegisteredServers Namespace