從指定的來源傳回這個屬性的預設值。
命名空間: Microsoft.Data.Schema.Build
組件: Microsoft.Data.Schema (在 Microsoft.Data.Schema.dll 中)
語法
'宣告
Public MustOverride Function GetDefaultValue ( _
propertyName As String, _
source As DatabaseTaskHost..::..PropertySource _
) As String
public abstract string GetDefaultValue(
string propertyName,
DatabaseTaskHost..::..PropertySource source
)
public:
virtual String^ GetDefaultValue(
String^ propertyName,
DatabaseTaskHost..::..PropertySource source
) abstract
abstract GetDefaultValue :
propertyName:string *
source:DatabaseTaskHost..::..PropertySource -> string
public abstract function GetDefaultValue(
propertyName : String,
source : DatabaseTaskHost..::..PropertySource
) : String
參數
- propertyName
型別:System.String
屬性名稱。
- source
型別:Microsoft.Data.Schema.Build.DatabaseTaskHost.PropertySource
提供的來源列舉值。
傳回值
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。