Конструктор RegisteredServer (RegisteredServerCollection, String)
Initializes a new instance of the RegisteredServer object.
Пространство имен: Microsoft.SqlServer.Management.Smo.RegisteredServers
Сборка: Microsoft.SqlServer.SmoExtended (в Microsoft.SqlServer.SmoExtended.dll)
Синтаксис
'Декларация
Public Sub New ( _
regServers As RegisteredServerCollection, _
name As String _
)
'Применение
Dim regServers As RegisteredServerCollection
Dim name As String
Dim instance As New RegisteredServer(regServers, _
name)
public RegisteredServer(
RegisteredServerCollection regServers,
string name
)
public:
RegisteredServer(
RegisteredServerCollection^ regServers,
String^ name
)
new :
regServers:RegisteredServerCollection *
name:string -> RegisteredServer
public function RegisteredServer(
regServers : RegisteredServerCollection,
name : String
)
Параметры
- regServers
Тип: Microsoft.SqlServer.Management.Smo.RegisteredServers.RegisteredServerCollection
The T: [Microsoft.SqlServer.Management.Smo.RegisteredServers.RegisteredServerCollection] to which the new registered server should be added.
- name
Тип: System.String
A String value that specifies the name of the registered server.
См. также
Справочник
Пространство имен Microsoft.SqlServer.Management.Smo.RegisteredServers