DatabaseProjectNodeExtender.GetDefaultValueAsBool 方法

从数据库任务主机返回 Boolean 形式的默认值。

命名空间:  Microsoft.VisualStudio.Data.Schema.Package.Project
程序集:  Microsoft.VisualStudio.Data.Schema.Package(在 Microsoft.VisualStudio.Data.Schema.Package.dll 中)

语法

声明
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

参数

返回值

类型:System.Boolean
此属性的默认值(布尔形式)。

备注

如果任务宿主没有默认值,则返回 false。

.NET Framework 安全性

请参见

参考

DatabaseProjectNodeExtender 类

Microsoft.VisualStudio.Data.Schema.Package.Project 命名空间