傳回從指定之屬性檔中讀取的所有屬性。
命名空間: Microsoft.Data.Schema.Build
組件: Microsoft.Data.Schema (在 Microsoft.Data.Schema.dll 中)
語法
'宣告
Protected Overridable Function OnReadPropertiesFile ( _
source As DatabaseTaskHost..::..PropertySource, _
file As FileInfo _
) As IDictionary(Of String, String)
protected virtual IDictionary<string, string> OnReadPropertiesFile(
DatabaseTaskHost..::..PropertySource source,
FileInfo file
)
protected:
virtual IDictionary<String^, String^>^ OnReadPropertiesFile(
DatabaseTaskHost..::..PropertySource source,
FileInfo^ file
)
abstract OnReadPropertiesFile :
source:DatabaseTaskHost..::..PropertySource *
file:FileInfo -> IDictionary<string, string>
override OnReadPropertiesFile :
source:DatabaseTaskHost..::..PropertySource *
file:FileInfo -> IDictionary<string, string>
protected function OnReadPropertiesFile(
source : DatabaseTaskHost..::..PropertySource,
file : FileInfo
) : IDictionary<String, String>
參數
- source
型別:Microsoft.Data.Schema.Build.DatabaseTaskHost.PropertySource
屬性來源。
- file
型別:System.IO.FileInfo
屬性檔。
傳回值
型別:System.Collections.Generic.IDictionary<String, String>
備註
這個基底方法不會執行任何動作,而且必須在資料庫結構描述提供者實作中覆寫。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。