DatabaseTaskHost.GetChangedPropertiesFromPropertiesFile 方法
返回已为 fullPath 下的属性文件中的给定配置添加、删除或更改的属性的属性列表。
命名空间: Microsoft.Data.Schema.Build
程序集: Microsoft.Data.Schema(在 Microsoft.Data.Schema.dll 中)
语法
声明
Public Overridable Sub GetChangedPropertiesFromPropertiesFile ( _
fullPath As String, _
source As DatabaseTaskHost..::..PropertySource, _
<OutAttribute> ByRef addedProperties As IList(Of Tuple(Of String, String)), _
<OutAttribute> ByRef deletedProperties As IList(Of String), _
<OutAttribute> ByRef changedProperties As IList(Of Tuple(Of String, String, String)) _
)
public virtual void GetChangedPropertiesFromPropertiesFile(
string fullPath,
DatabaseTaskHost..::..PropertySource source,
out IList<Tuple<string, string>> addedProperties,
out IList<string> deletedProperties,
out IList<Tuple<string, string, string>> changedProperties
)
public:
virtual void GetChangedPropertiesFromPropertiesFile(
String^ fullPath,
DatabaseTaskHost..::..PropertySource source,
[OutAttribute] IList<Tuple<String^, String^>^>^% addedProperties,
[OutAttribute] IList<String^>^% deletedProperties,
[OutAttribute] IList<Tuple<String^, String^, String^>^>^% changedProperties
)
abstract GetChangedPropertiesFromPropertiesFile :
fullPath:string *
source:DatabaseTaskHost..::..PropertySource *
addedProperties:IList<Tuple<string, string>> byref *
deletedProperties:IList<string> byref *
changedProperties:IList<Tuple<string, string, string>> byref -> unit
override GetChangedPropertiesFromPropertiesFile :
fullPath:string *
source:DatabaseTaskHost..::..PropertySource *
addedProperties:IList<Tuple<string, string>> byref *
deletedProperties:IList<string> byref *
changedProperties:IList<Tuple<string, string, string>> byref -> unit
public function GetChangedPropertiesFromPropertiesFile(
fullPath : String,
source : DatabaseTaskHost..::..PropertySource,
addedProperties : IList<Tuple<String, String>>,
deletedProperties : IList<String>,
changedProperties : IList<Tuple<String, String, String>>
)
参数
- fullPath
类型:System.String
属性文件的完整路径。
- source
类型:Microsoft.Data.Schema.Build.DatabaseTaskHost.PropertySource
属性源。
- addedProperties
类型:System.Collections.Generic.IList<Tuple<String, String>>%
返回的已添加属性的列表。
- deletedProperties
类型:System.Collections.Generic.IList<String>%
返回的已删除属性的列表。
- changedProperties
类型:System.Collections.Generic.IList<Tuple<String, String, String>>%
返回的已修改属性的列表。
备注
此函数的默认实现不执行任何操作。 每个数据库架构提供程序实现必须派生自此,以在数据库或架构属性文件中读取。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。