다음을 통해 공유


SqlScriptEditorControl.MultiServerPropertiesDisplay.SetChildServerName 메서드

Sets the server name for a child connection.

네임스페이스:  Microsoft.SqlServer.Management.UI.VSIntegration.Editors
어셈블리:  SQLEditors(SQLEditors.dll)

구문

‘선언
Public Sub SetChildServerName ( _
    childInfo As UIConnectionInfo, _
    serverName As String _
)
‘사용 방법
Dim instance As SqlScriptEditorControl.MultiServerPropertiesDisplay 
Dim childInfo As UIConnectionInfo 
Dim serverName As String

instance.SetChildServerName(childInfo, _
    serverName)
public void SetChildServerName(
    UIConnectionInfo childInfo,
    string serverName
)
public:
virtual void SetChildServerName(
    UIConnectionInfo^ childInfo, 
    String^ serverName
) sealed
abstract SetChildServerName : 
        childInfo:UIConnectionInfo * 
        serverName:string -> unit  
override SetChildServerName : 
        childInfo:UIConnectionInfo * 
        serverName:string -> unit
public final function SetChildServerName(
    childInfo : UIConnectionInfo, 
    serverName : String
)

매개 변수

  • serverName
    유형: System.String
    A string value that contains the server name.

구현

IUpdateConnectionProperties.SetChildServerName(UIConnectionInfo, String)

참고 항목

참조

SqlScriptEditorControl.MultiServerPropertiesDisplay 클래스

Microsoft.SqlServer.Management.UI.VSIntegration.Editors 네임스페이스