SqlScriptEditorControl.MultiServerPropertiesDisplay.SetChildServerName Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the server name for a child connection.
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)
Parameters
- childInfo
- UIConnectionInfo
The UIConnectionInfo object for the connection to update.
- serverName
- String
A string value that contains the server name.