Partager via


VariablesCollection.GetElement Method (String)

Gets an element with the specified name from the collection.

Espace de noms: Microsoft.SqlServer.Dts.Tasks.Exec80PackageTask
Assembly: Microsoft.SqlServer.Exec80PackageTask (in microsoft.sqlserver.exec80packagetask.dll)

Syntaxe

'Déclaration
Public Function GetElement ( _
    variableName As String _
) As Object
public Object GetElement (
    string variableName
)
public:
Object^ GetElement (
    String^ variableName
)
public Object GetElement (
    String variableName
)
public function GetElement (
    variableName : String
) : Object

Paramètres

  • variableName
    The name of the element to be returned.

Valeur de retour

An Object containing the element with the specified name, if found; otherwise, a null reference (Nothing in Visual Basic).

Sécurité des threads

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

VariablesCollection Class
VariablesCollection Members
Microsoft.SqlServer.Dts.Tasks.Exec80PackageTask Namespace