从数据库任务主机返回属性的默认值。
命名空间:  Microsoft.VisualStudio.Data.Schema.Package.Project
程序集:  Microsoft.VisualStudio.Data.Schema.Package(在 Microsoft.VisualStudio.Data.Schema.Package.dll 中)
语法
声明
Public Function GetDefaultValue ( _
    propertyName As String, _
    source As DatabaseTaskHost..::..PropertySource _
) As String
public string GetDefaultValue(
    string propertyName,
    DatabaseTaskHost..::..PropertySource source
)
public:
String^ GetDefaultValue(
    String^ propertyName, 
    DatabaseTaskHost..::..PropertySource source
)
member GetDefaultValue : 
        propertyName:string * 
        source:DatabaseTaskHost..::..PropertySource -> string 
public function GetDefaultValue(
    propertyName : String, 
    source : DatabaseTaskHost..::..PropertySource
) : String
参数
- propertyName
 类型:System.String
 属性的名称。
- source
 类型:Microsoft.Data.Schema.Build.DatabaseTaskHost.PropertySource
 属性的源。
返回值
类型:System.String
此属性的默认值。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。