Compartir a través de


IDatabaseProjectPropertiesContainer.GetPropertyAsBoolean (Método)

Devuelve el valor de una propiedad de catálogo o de servidor como un valor de tipo Boolean.

Espacio de nombres:  Microsoft.VisualStudio.Data.Schema.Package.Project
Ensamblado:  Microsoft.VisualStudio.Data.Schema.Package (en Microsoft.VisualStudio.Data.Schema.Package.dll)

Sintaxis

'Declaración
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

Parámetros

  • defaultValue
    Tipo: System.Boolean
    Valor predeterminado si la propiedad no se ha establecido.

Valor devuelto

Tipo: System.Boolean
Es true si se recuperó la propiedad.

Seguridad de .NET Framework

Vea también

Referencia

IDatabaseProjectPropertiesContainer Interfaz

Microsoft.VisualStudio.Data.Schema.Package.Project (Espacio de nombres)