共用方式為


EventHandlerClass.GetExpression 方法

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

Returns the expression for the specified property or nullnull 參考 (在 Visual Basic 中為 Nothing) if no expression is assigned.

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

語法

'宣告
Public Overridable Function GetExpression ( _
    bstrPropertyName As String _
) As String
'用途
Dim instance As EventHandlerClass 
Dim bstrPropertyName As String 
Dim returnValue As String 

returnValue = instance.GetExpression(bstrPropertyName)
public virtual string GetExpression(
    string bstrPropertyName
)
public:
virtual String^ GetExpression(
    [InAttribute] String^ bstrPropertyName
)
abstract GetExpression : 
        bstrPropertyName:string -> string  
override GetExpression : 
        bstrPropertyName:string -> string
public function GetExpression(
    bstrPropertyName : String
) : String

參數

  • bstrPropertyName
    型別:System.String
    The name of the property whose expression you want to see.

傳回值

型別:System.String
A String that contains the expression used to evaluate the property or nullnull 參考 (在 Visual Basic 中為 Nothing) if no expression is assigned.

實作

IDTSPropertiesProvider100.GetExpression(String)

請參閱

參考

EventHandlerClass 類別

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