SqlScriptEditorControl.MultiServerPropertiesDisplay.SetChildServerName Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Définit le nom du serveur pour une connexion enfant.
public:
virtual void SetChildServerName(Microsoft::SqlServer::Management::Smo::RegSvrEnum::UIConnectionInfo ^ childInfo, System::String ^ serverName);
public void SetChildServerName(Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo childInfo, string serverName);
abstract member SetChildServerName : Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo * string -> unit
override this.SetChildServerName : Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo * string -> unit
Public Sub SetChildServerName (childInfo As UIConnectionInfo, serverName As String)
Paramètres
- childInfo
- UIConnectionInfo
L’objet UIConnectionInfo pour que la connexion se mette à jour.
- serverName
- String
Une valeur de chaîne contenant le nom du serveur.