Partager via


Propriété EnvironmentCollection.Item (String)

Gets the environment from the environment 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 EnvironmentInfo 
    Get
'Utilisation
Dim instance As EnvironmentCollection 
Dim name As String 
Dim value As EnvironmentInfo 

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

Paramètres

Valeur de propriété

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

Voir aussi

Référence

EnvironmentCollection Classe

Surcharge Item

Espace de noms Microsoft.SqlServer.Management.IntegrationServices