Partager via


Méthode EventHandlerClass.GetExpression

Cette API prend en charge l'infrastructure SQL Server 2012 et n'est pas destinée à être utilisée directement à partir de votre code.

Returns the expression for the specified property or nullune référence Null (Nothing dans Visual Basic) if no expression is assigned.

Espace de noms :  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly :  Microsoft.SqlServer.DTSRuntimeWrap (en Microsoft.SqlServer.DTSRuntimeWrap.dll)

Syntaxe

'Déclaration
Public Overridable Function GetExpression ( _
    bstrPropertyName As String _
) As String
'Utilisation
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

Paramètres

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

Valeur de retour

Type : System.String
A String that contains the expression used to evaluate the property or nullune référence Null (Nothing dans Visual Basic) if no expression is assigned.

Implémente

IDTSPropertiesProvider100.GetExpression(String)

Voir aussi

Référence

EventHandlerClass Classe

Espace de noms Microsoft.SqlServer.Dts.Runtime.Wrapper