SqlConnectionStringBuilder.ContextConnection 속성

정의

SQL Server에 클라이언트/서버 연결 또는 in-process 연결을 설정할지 여부를 나타내는 값을 가져오거나 설정합니다.

public:
 property bool ContextConnection { bool get(); void set(bool value); };
public bool ContextConnection { get; set; }
member this.ContextConnection : bool with get, set
Public Property ContextConnection As Boolean

속성 값

ContextConnection 속성의 값이거나, 제공된 값이 없으면 False입니다.

설명

이 속성은 연결 문자열 내의 "Context Connection" 키에 해당합니다.

참고

DataSource 에 대한 SqlConnection 연결 문자열 "context connection=true"이면 속성이 반환 null 됩니다.

적용 대상

추가 정보