共用方式為


IDTSServerExecution100.SetPropertyOverrideValue 方法

此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。

Sets the property for an instance of execution in the Integration Services catalog with the specified override value.

命名空間:  Microsoft.SqlServer.Dts.Runtime.Wrapper
組件:  Microsoft.SqlServer.DTSRuntimeWrap (在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)

語法

'宣告
Sub SetPropertyOverrideValue ( _
    bstrPropertyPath As String, _
    bstrPropertyValue As String, _
    bValueIsSensitive As Boolean _
)
'用途
Dim instance As IDTSServerExecution100 
Dim bstrPropertyPath As String 
Dim bstrPropertyValue As String 
Dim bValueIsSensitive As Boolean

instance.SetPropertyOverrideValue(bstrPropertyPath, _
    bstrPropertyValue, bValueIsSensitive)
void SetPropertyOverrideValue(
    string bstrPropertyPath,
    string bstrPropertyValue,
    bool bValueIsSensitive
)
void SetPropertyOverrideValue(
    [InAttribute] String^ bstrPropertyPath, 
    [InAttribute] String^ bstrPropertyValue, 
    [InAttribute] bool bValueIsSensitive
)
abstract SetPropertyOverrideValue : 
        bstrPropertyPath:string * 
        bstrPropertyValue:string * 
        bValueIsSensitive:bool -> unit
function SetPropertyOverrideValue(
    bstrPropertyPath : String, 
    bstrPropertyValue : String, 
    bValueIsSensitive : boolean
)

參數

  • bstrPropertyPath
    型別:System.String
    The path to the property in the package.
  • bstrPropertyValue
    型別:System.String
    The override value to assign to the property.
  • bValueIsSensitive
    型別:System.Boolean
    true if the value contains sensitive data and is encrypted when stored; false if the value is not sensitive data and is stored in plaintext.

備註

For more information, see SsisServerExecution.

請參閱

參考

IDTSServerExecution100 介面

Microsoft.SqlServer.Dts.Runtime.Wrapper 命名空間