Partager via


Propriété EnvironmentVariableCollection.Item (String)

Gets the environment variable from the environment variable collection based upon the specified name.

Espace de noms :  Microsoft.SqlServer.Management.IntegrationServices
Assembly :  Microsoft.SqlServer.Management.IntegrationServices (en Microsoft.SqlServer.Management.IntegrationServices.dll)

Syntaxe

'Déclaration
Public ReadOnly Default Property Item ( _
    name As String _
) As EnvironmentVariable 
    Get
'Utilisation
Dim instance As EnvironmentVariableCollection 
Dim name As String 
Dim value As EnvironmentVariable 

value = instance(name)
public EnvironmentVariable this[
    string name
] { get; }
public:
property EnvironmentVariable^ default[String^ name] {
    EnvironmentVariable^ get (String^ name);
}
member Item : EnvironmentVariable
JScript prend en charge l'utilisation de propriétés indexées, mais pas la déclaration de nouvelles propriétés.

Paramètres

  • name
    Type : System.String
    The name of the environment variable.

Valeur de propriété

Type : Microsoft.SqlServer.Management.IntegrationServices.EnvironmentVariable
The specified environment variable from the environment variable collection.

Voir aussi

Référence

EnvironmentVariableCollection Classe

Surcharge Item

Espace de noms Microsoft.SqlServer.Management.IntegrationServices