DatabaseProjectNodeExtender.GetDefaultValueAsBool Method
Returns the default value from the database task host as a Boolean.
Namespace: Microsoft.VisualStudio.Data.Schema.Package.Project
Assembly: Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)
Syntax
'Declaration
Public Function GetDefaultValueAsBool ( _
propertyName As String, _
source As DatabaseTaskHost..::..PropertySource _
) As Boolean
public bool GetDefaultValueAsBool(
string propertyName,
DatabaseTaskHost..::..PropertySource source
)
public:
bool GetDefaultValueAsBool(
String^ propertyName,
DatabaseTaskHost..::..PropertySource source
)
member GetDefaultValueAsBool :
propertyName:string *
source:DatabaseTaskHost..::..PropertySource -> bool
public function GetDefaultValueAsBool(
propertyName : String,
source : DatabaseTaskHost..::..PropertySource
) : boolean
Parameters
- propertyName
Type: System.String
The name of the property.
- source
Type: Microsoft.Data.Schema.Build.DatabaseTaskHost.PropertySource
The source of the property.
Return Value
Type: System.Boolean
The default value for this property as a Boolean.
Remarks
If the task host does not have a default value, false is returned.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
DatabaseProjectNodeExtender Class
Microsoft.VisualStudio.Data.Schema.Package.Project Namespace