SqlScriptEditorControl.MultiServerPropertiesDisplay.SetChildServerName 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
設定子連線的伺服器名稱。
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)
參數
- childInfo
- UIConnectionInfo
連線更新的 UIConnectionInfo 目標。
- serverName
- String
包含伺服器名稱的字串值。