IDatabasePropertiesContainer.GetPropertyAsBoolean Method

Returns the value of a catalog or server property as a Boolean value.

Namespace:  Microsoft.VisualStudio.Data.Schema.Project.Project
Assembly:  Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)

Syntax

'Declaration
Function GetPropertyAsBoolean ( _
    propertyName As String, _
    source As DatabaseTaskHost..::..PropertySource, _
    defaultValue As Boolean _
) As Boolean
'Usage
Dim instance As IDatabasePropertiesContainer
Dim propertyName As String
Dim source As DatabaseTaskHost..::..PropertySource
Dim defaultValue As Boolean
Dim returnValue As Boolean

returnValue = instance.GetPropertyAsBoolean(propertyName, _
    source, defaultValue)
bool GetPropertyAsBoolean(
    string propertyName,
    DatabaseTaskHost..::..PropertySource source,
    bool defaultValue
)
bool GetPropertyAsBoolean(
    String^ propertyName, 
    DatabaseTaskHost..::..PropertySource source, 
    bool defaultValue
)
function GetPropertyAsBoolean(
    propertyName : String, 
    source : DatabaseTaskHost..::..PropertySource, 
    defaultValue : boolean
) : boolean
abstract GetPropertyAsBoolean : 
        propertyName:string * 
        source:DatabaseTaskHost..::..PropertySource * 
        defaultValue:bool -> bool 

Parameters

Return Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

IDatabasePropertiesContainer Interface

IDatabasePropertiesContainer Members

Microsoft.VisualStudio.Data.Schema.Project.Project Namespace