Share via


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

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

See Also

Reference

DatabaseProjectNodeExtender Class

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