DatabaseTaskHost.OnReadPropertiesFile 方法
返回从指定的属性文件中读取的所有属性。
命名空间: 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 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。