IDatabaseProjectPropertiesContainer.GetPropertyAsBoolean-Methode
Gibt den Standardwert einer Katalog- oder Servereigenschaft als Boolean zurück.
Namespace: Microsoft.VisualStudio.Data.Schema.Package.Project
Assembly: Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)
Syntax
'Declaration
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
Parameter
- propertyName
Typ: System.String
Der Name der Eigenschaft.
- source
Typ: Microsoft.Data.Schema.Build.DatabaseTaskHost.PropertySource
Die Eigenschaftenquelle (Katalog oder Server).
- defaultValue
Typ: System.Boolean
Der Standardwert, wenn die Eigenschaft nicht festgelegt ist.
Rückgabewert
Typ: System.Boolean
true , wenn die Eigenschaft abgerufen wurde.
.NET Framework-Sicherheit
- Volle Vertrauenswürdigkeit für den unmittelbaren Aufrufer. Dieser Member kann von nur teilweise vertrauenswürdigem Code nicht verwendet werden. Weitere Informationen finden Sie unter Verwenden von Bibliotheken aus teilweise vertrauenswürdigem Code.
Siehe auch
Referenz
IDatabaseProjectPropertiesContainer Schnittstelle
Microsoft.VisualStudio.Data.Schema.Package.Project-Namespace