다음을 통해 공유


VCProjectConfigurationProperties.SQLDebugging 속성

프로젝트에 대한 SQL 디버깅을 활성화합니다.

네임스페이스:  Microsoft.VisualStudio.VCProject
어셈블리:  Microsoft.VisualStudio.VCProject(Microsoft.VisualStudio.VCProject.dll)

구문

‘선언
Property SQLDebugging As Boolean
bool SQLDebugging { get; set; }
property bool SQLDebugging {
    bool get ();
    void set (bool value);
}
abstract SQLDebugging : bool with get, set
function get SQLDebugging () : boolean 
function set SQLDebugging (value : boolean)

속성 값

형식: Boolean
SQL 디버깅이 활성화되면 true이고, 그렇지 않으면 false입니다.

설명

이 샘플을 컴파일하고 실행하는 방법을 보려면 방법: 프로젝트 모델 확장성에 대한 예제 코드 컴파일을 참조하십시오.

예제

[Visual Basic]

다음 코드 예제에서는 수정 된 SQLDebugging 개발 환경에서 속성:

' add reference to Microsoft.VisualStudio.VCProjectEngine
Imports EnvDTE
Imports Microsoft.VisualStudio.VCProjectEngine

Public Module Module1
    Sub Test()
        Dim mystring As String
        Dim prj As VCProject
        Dim cfgs, tools As IVCCollection
        Dim cfg As VCConfiguration
        Dim tool As VCDebugSettings
        prj = DTE.Solution.Projects.Item(1).Object
        cfgs = prj.Configurations
        cfg = cfgs.Item(1)
        tool = cfg.DebugSettings
        tool.SQLDebugging = True
    End Sub
End Module

.NET Framework 보안

참고 항목

참조

VCProjectConfigurationProperties 인터페이스

Microsoft.VisualStudio.VCProject 네임스페이스