SqlConnectionStringBuilder.ContextConnection 속성

정의

주의

ContextConnection has been deprecated. SqlConnection will ignore the 'Context Connection' keyword.

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

public:
 property bool ContextConnection { bool get(); void set(bool value); };
public bool ContextConnection { get; set; }
[System.Obsolete("ContextConnection has been deprecated. SqlConnection will ignore the 'Context Connection' keyword.")]
public bool ContextConnection { get; set; }
member this.ContextConnection : bool with get, set
[<System.Obsolete("ContextConnection has been deprecated. SqlConnection will ignore the 'Context Connection' keyword.")>]
member this.ContextConnection : bool with get, set
Public Property ContextConnection As Boolean

속성 값

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

특성

설명

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

참고

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

적용 대상