티스토리 뷰

Data.Win.ADODB.TADOConnection.ConnectionString

Up to Parent: TADOConnection

Delphi

property ConnectionString: WideString read GetConnectionString write SetConnectionString;

C++

__property System::WideString ConnectionString = {read=GetConnectionString, write=SetConnectionString};

Properties

Type

Visibility

Source

Unit

Parent

property

published

Data.Win.ADODB.pas

Data.Win.ADODB.hpp

Data.Win.ADODB

TADOConnection

Description

Specifies the connection information for the data store.

Set ConnectionString to specify the information needed to connect / the ADO connection component to the data store.

The value used for ConnectionString / consists of one or more arguments / ADO uses to establish the connection.

Specify multiple arguments / as a list with individual arguments separated by semicolons.

 

데이터 저장소에 대한 연결 정보를 지정합니다.

ConnectionString을 설정하여 ADO 연결 구성 요소를 데이터 저장소에 연결하는데 필요한 정보를 지정합니다.

ConnectionString에 사용되는 값은 ADO가 연결을 설정하는데 사용하는 하나 이상의 인수로 구성됩니다.

개별 인수가 세미콜론으로 구분된 리스트로 여러 인수를 지정합니다.

 

ADOConnection1.ConnectionString := 'Provider=ProviderRef;Remote Server=ServerRef';

 

ADOConnection1->ConnectionString = "Provider=ProviderRef;Remote Server=ServerRef";


At design-time, / select from the list of available ADO database connections / invoked from the Object Inspector.

A connection string may be saved to file / for later use.

Specify only the name of such a file in ConnectionString / to reuse a saved connection string.

The connection string / may also contain login information / such as user ID and password, for automated logins.

When explicitly passing login information through either the Open method or the ConnectionString, / the LoginPrompt property should be set to false / to prevent an unnecessary login dialog.

ADO / supports the following four arguments for connection strings.

Any other arguments (such as a user ID and password) / are not processed by ADO / and simply passed on to the provider.

 

디자인 타임에 Object Inspector에서 호출된 사용 가능한 ADO 데이터베이스 연결 리스트에서 선택합니다.

나중에 사용할 수 있도록 Connection String을 파일에 저장할 수 있습니다.

저장된 Connection String을 다시 사용하려면 ConnectionString에 이러한 파일의 이름만 지정합니다.

Connection String에는 자동 로그인을 위한 사용자 ID 및 암호와 같은 로그인 정보가 포함될 수도 있습니다.

각각의 Open 메소드 또는 ConnectionString을 통해 로그인 정보를 명시적으로 전달할 때, 불필요한 로그인 대화 상자를 방지하려면 LoginPrompt 등록 정보를 false로 설정해야 합니다.

ADOConnection String에 대해 다음 네 가지 인수를 지원합니다.

다른 모든 인수 ( : 사용자 ID 및 암호) ADO에 의해 처리되지 않고 단순히 공급자에게 전달됩니다.

 

Argument

Meaning

Provider

The name of the provider to use for the connection.

연결에 사용할 공급자의 이름입니다.

File name

The name of a file containing connection information.

연결 정보가 들어있는 파일의 이름입니다.

Remote Provider

The name of the provider to use for a client-side connection.

클라이언트 측 연결에 사용할 공급자의 이름입니다.

Remote Server

The path name of the server to use for a client-side connection.

클라이언트 측 연결에 사용할 서버의 경로 이름입니다.

 

Note: After opening a connection, / the contents of ConnectionString / may be changed by ADO.

One example of this behavior / is when ADO-defined arguments are mapped to their provider equivalents.

 

참고 : 연결을 오픈 한 후 ConnectionString의 내용이 ADO에 의해 변경 될 수 있습니다.

이 동작의 한 예는 정의된 ADO 인수가 해당 동등한 제공자가 매핑되는 경우입니다.

 

consist 

1. (부분·요소로) 되어 있다(be made up) ((of))   2. (…에) 있다(lie), (…에) 존재하다 ((in))

establish 미국·영국 [ɪ|stӕblɪʃ] 

1. 설립하다   2. (특히 공식적인 관계를) 수립하다   3. (~로서의 지위명성을) 확고히 하다

invoked 

적용된

such 미국·영국 [sʌtʃ] 

1. 앞에 이미 언급한, 그런   2. (곧 언급하려는) 그런   3. (정도를 강조하여) 그 정도의

also 미국식 [|ɔ:lsoʊ] 

또한, 게다가, …도

such as 

1. 예를 들어 (…와 같은)   2. …와 같은

explicitly 

명쾌하게

either 미국·영국 [|aɪðə(r);|i:ðə(r)] 

1. (둘 중) 어느 하나()   2. (두 개) 각각()   3. (부정문에서) …도 (그렇다)

prevent 미국·영국 [prɪ|vent] 

(~/~ ~하는 것을) 막다

behavior 미국·영국 [bihéivjər] 

1. 행동, 거동, 행실, 품행, 태도   2. 행동; 습성   3. 행동 양식(behavior pattern)

equivalent 미국·영국 [ɪ|kwɪvələnt] 

1. (가치의미중요도 등이) 동등한   2. (…에) 상당하는 것, 등가물

 

출처: http://docwiki.embarcadero.com/Libraries/XE2/en/Data.Win.ADODB.TADOConnection.ConnectionString


댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2024/05   »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
글 보관함