DatabaseTaskHost.TryGetChangedPropertiesFromPropertiesFile Method
Populates lists of properties for the given configuration from the property file at fullPath, where the property has been added, deleted, or changed.
Namespace: Microsoft.Data.Schema.Build
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public Overridable Function TryGetChangedPropertiesFromPropertiesFile ( _
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)) _
) As Boolean
'Usage
Dim instance As DatabaseTaskHost
Dim fullPath As String
Dim source As DatabaseTaskHost..::..PropertySource
Dim addedProperties As IList(Of Tuple(Of String, String))
Dim deletedProperties As IList(Of String)
Dim changedProperties As IList(Of Tuple(Of String, String, String))
Dim returnValue As Boolean
returnValue = instance.TryGetChangedPropertiesFromPropertiesFile(fullPath, _
source, addedProperties, deletedProperties, _
changedProperties)
public virtual bool TryGetChangedPropertiesFromPropertiesFile(
string fullPath,
DatabaseTaskHost..::..PropertySource source,
out IList<Tuple<string, string>> addedProperties,
out IList<string> deletedProperties,
out IList<Tuple<string, string, string>> changedProperties
)
public:
virtual bool TryGetChangedPropertiesFromPropertiesFile(
String^ fullPath,
DatabaseTaskHost..::..PropertySource source,
[OutAttribute] IList<Tuple<String^, String^>>^% addedProperties,
[OutAttribute] IList<String^>^% deletedProperties,
[OutAttribute] IList<Tuple<String^, String^, String^>>^% changedProperties
)
public function TryGetChangedPropertiesFromPropertiesFile(
fullPath : String,
source : DatabaseTaskHost..::..PropertySource,
addedProperties : IList<Tuple<String, String>>,
deletedProperties : IList<String>,
changedProperties : IList<Tuple<String, String, String>>
) : boolean
abstract TryGetChangedPropertiesFromPropertiesFile :
fullPath:string *
source:DatabaseTaskHost..::..PropertySource *
addedProperties:IList<Tuple<string, string>> *
deletedProperties:IList<string> *
changedProperties:IList<Tuple<string, string, string>> -> bool
override TryGetChangedPropertiesFromPropertiesFile :
fullPath:string *
source:DatabaseTaskHost..::..PropertySource *
addedProperties:IList<Tuple<string, string>> *
deletedProperties:IList<string> *
changedProperties:IList<Tuple<string, string, string>> -> bool
Parameters
- fullPath
Type: System.String
The file path
- source
Type: Microsoft.Data.Schema.Build.DatabaseTaskHost.PropertySource
The property source enumeration value
- addedProperties
Type: System.Collections.Generic.IList<Tuple<String, String>>%
The list of added properties
- deletedProperties
Type: System.Collections.Generic.IList<String>%
The list of deleted properties
- changedProperties
Type: System.Collections.Generic.IList<Tuple<String, String, String>>%
The list of changed properties
Return Value
Type: System.Boolean
Returns True if properties were successfully extracted.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.