ScriptAndResultsEditorControl.SetConnection ScriptAndResultsEditorControl.SetConnection ScriptAndResultsEditorControl.SetConnection Method

정의

연결을 설정합니다. Sets the connection.

오버로드

SetConnection(UIConnectionGroupInfo) SetConnection(UIConnectionGroupInfo) SetConnection(UIConnectionGroupInfo)

연결 컨텍스트를 스크립트 편집기와 연결합니다. Associates a connection context with the script editor.

SetConnection(UIConnectionInfo) SetConnection(UIConnectionInfo) SetConnection(UIConnectionInfo)

연결을 스크립트와 연결합니다. Associate a connection with the script.

SetConnection(UIConnectionGroupInfo, IDbConnection) SetConnection(UIConnectionGroupInfo, IDbConnection) SetConnection(UIConnectionGroupInfo, IDbConnection)

라이브 연결에 스탬프를 사용하도록 설정합니다. Enables stamp with live connection.

SetConnection(UIConnectionInfo, IDbConnection) SetConnection(UIConnectionInfo, IDbConnection) SetConnection(UIConnectionInfo, IDbConnection)

라이브 연결에 스탬프를 사용하도록 설정합니다. Enables stamp used with live connection

SetConnection(UIConnectionGroupInfo) SetConnection(UIConnectionGroupInfo) SetConnection(UIConnectionGroupInfo)

연결 컨텍스트를 스크립트 편집기와 연결합니다. Associates a connection context with the script editor.

public:
 virtual void SetConnection(Microsoft::SqlServer::Management::Smo::RegSvrEnum::UIConnectionGroupInfo ^ connectionInfoList);
public virtual void SetConnection (Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionGroupInfo connectionInfoList);
Public Overridable Sub SetConnection (connectionInfoList As UIConnectionGroupInfo)
매개 변수
connectionInfoList
UIConnectionGroupInfo UIConnectionGroupInfo UIConnectionGroupInfo

UIConnectionGroupInfo 개체로서의 편집기에 대한 연결 컨텍스트입니다. The connection context for the editor as a UIConnectionGroupInfo object.

구현

SetConnection(UIConnectionInfo) SetConnection(UIConnectionInfo) SetConnection(UIConnectionInfo)

연결을 스크립트와 연결합니다. Associate a connection with the script.

public:
 virtual void SetConnection(Microsoft::SqlServer::Management::Smo::RegSvrEnum::UIConnectionInfo ^ conn);
public virtual void SetConnection (Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo conn);
Public Overridable Sub SetConnection (conn As UIConnectionInfo)
매개 변수
구현

SetConnection(UIConnectionGroupInfo, IDbConnection) SetConnection(UIConnectionGroupInfo, IDbConnection) SetConnection(UIConnectionGroupInfo, IDbConnection)

라이브 연결에 스탬프를 사용하도록 설정합니다. Enables stamp with live connection.

public:
 virtual void SetConnection(Microsoft::SqlServer::Management::Smo::RegSvrEnum::UIConnectionGroupInfo ^ connectionInfoList, System::Data::IDbConnection ^ liveConnection);
public virtual void SetConnection (Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionGroupInfo connectionInfoList, System.Data.IDbConnection liveConnection);
Public Overridable Sub SetConnection (connectionInfoList As UIConnectionGroupInfo, liveConnection As IDbConnection)
매개 변수
connectionInfoList
UIConnectionGroupInfo UIConnectionGroupInfo UIConnectionGroupInfo

연결에 대한 UIConnectionGroupInfo 개체입니다. The UIConnectionGroupInfo object for the connection.

liveConnection
IDbConnection IDbConnection IDbConnection

connectionInfo가 나타내는 서버에 대한 활성 IDbConnection 개체입니다. A live IDbConnection object to the servers indicated by the connectionInfo.

구현

SetConnection(UIConnectionInfo, IDbConnection) SetConnection(UIConnectionInfo, IDbConnection) SetConnection(UIConnectionInfo, IDbConnection)

라이브 연결에 스탬프를 사용하도록 설정합니다. Enables stamp used with live connection

public:
 virtual void SetConnection(Microsoft::SqlServer::Management::Smo::RegSvrEnum::UIConnectionInfo ^ connectionInfo, System::Data::IDbConnection ^ liveConnection);
public virtual void SetConnection (Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo connectionInfo, System.Data.IDbConnection liveConnection);
Public Overridable Sub SetConnection (connectionInfo As UIConnectionInfo, liveConnection As IDbConnection)
매개 변수
connectionInfo
UIConnectionInfo UIConnectionInfo UIConnectionInfo

연결에 대한 UIConnectionInfo 개체입니다. The UIConnectionInfo object for the connection.

liveConnection
IDbConnection IDbConnection IDbConnection

connectionInfo가 나타내는 서버에 대한 활성 IDbConnection 개체입니다. A live IDbConnection object to the server indicated by the connectionInfo.

구현

적용 대상