RegisteredServer 建構函式 (ServerGroup, String)
Initializes a new instance of the RegisteredServer class with the specified name and server.
命名空間: Microsoft.SqlServer.Management.RegisteredServers
組件: Microsoft.SqlServer.Management.RegisteredServers (在 Microsoft.SqlServer.Management.RegisteredServers.dll 中)
語法
'宣告
Public Sub New ( _
parent As ServerGroup, _
name As String _
)
'用途
Dim parent As ServerGroup
Dim name As String
Dim instance As New RegisteredServer(parent, _
name)
public RegisteredServer(
ServerGroup parent,
string name
)
public:
RegisteredServer(
ServerGroup^ parent,
String^ name
)
new :
parent:ServerGroup *
name:string -> RegisteredServer
public function RegisteredServer(
parent : ServerGroup,
name : String
)
參數
- parent
型別:Microsoft.SqlServer.Management.RegisteredServers. . :: . .ServerGroup
A ServerGroup value that specifies the parent of the object.
- name
型別:System. . :: . .String
A String that specifies the name of the server.