Méthode SetChildServerName
Sets the server name for a child connection.
Espace de noms : Microsoft.SqlServer.Management.MultiServerConnection
Assembly : Microsoft.SqlServer.Management.MultiServerConnection (en Microsoft.SqlServer.Management.MultiServerConnection.dll)
Syntaxe
'Déclaration
Sub SetChildServerName ( _
childInfo As UIConnectionInfo, _
serverName As String _
)
'Utilisation
Dim instance As IUpdateConnectionProperties
Dim childInfo As UIConnectionInfo
Dim serverName As String
instance.SetChildServerName(childInfo, _
serverName)
void SetChildServerName(
UIConnectionInfo childInfo,
string serverName
)
void SetChildServerName(
UIConnectionInfo^ childInfo,
String^ serverName
)
abstract SetChildServerName :
childInfo:UIConnectionInfo *
serverName:string -> unit
function SetChildServerName(
childInfo : UIConnectionInfo,
serverName : String
)
Paramètres
- childInfo
Type : Microsoft.SqlServer.Management.Smo.RegSvrEnum. . :: . .UIConnectionInfo
Specifies the child connection to update.
- serverName
Type : System. . :: . .String
Specifies the new server name.