IDatabaseProjectPropertiesContainer.GetPropertyAsBoolean 메서드

카탈로그 또는 서버 속성의 값을 Boolean으로 반환합니다.

네임스페이스:  Microsoft.VisualStudio.Data.Schema.Package.Project
어셈블리:  Microsoft.VisualStudio.Data.Schema.Package(Microsoft.VisualStudio.Data.Schema.Package.dll)

구문

‘선언
Function GetPropertyAsBoolean ( _
    propertyName As String, _
    source As DatabaseTaskHost..::..PropertySource, _
    defaultValue As Boolean _
) As Boolean
bool GetPropertyAsBoolean(
    string propertyName,
    DatabaseTaskHost..::..PropertySource source,
    bool defaultValue
)
bool GetPropertyAsBoolean(
    String^ propertyName, 
    DatabaseTaskHost..::..PropertySource source, 
    bool defaultValue
)
abstract GetPropertyAsBoolean : 
        propertyName:string * 
        source:DatabaseTaskHost..::..PropertySource * 
        defaultValue:bool -> bool 
function GetPropertyAsBoolean(
    propertyName : String, 
    source : DatabaseTaskHost..::..PropertySource, 
    defaultValue : boolean
) : boolean

매개 변수

  • defaultValue
    형식: System.Boolean
    속성이 설정되지 않은 경우 기본값입니다.

반환 값

형식: System.Boolean
속성이 검색된 경우 true입니다.

.NET Framework 보안

  • 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.

참고 항목

참조

IDatabaseProjectPropertiesContainer 인터페이스

Microsoft.VisualStudio.Data.Schema.Package.Project 네임스페이스