Proprietà EnvironmentVariableCollection.Item (String)
Gets the environment variable from the environment variable collection based upon the specified name.
Spazio dei nomi Microsoft.SqlServer.Management.IntegrationServices
Assembly: Microsoft.SqlServer.Management.IntegrationServices (in Microsoft.SqlServer.Management.IntegrationServices.dll)
Sintassi
'Dichiarazione
Public ReadOnly Default Property Item ( _
name As String _
) As EnvironmentVariable
Get
'Utilizzo
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 supporta l'utilizzo di proprietà indicizzate, ma non la dichiarazione di nuove proprietà.
Parametri
- name
Tipo: System.String
The name of the environment variable.
Valore proprietà
Tipo: Microsoft.SqlServer.Management.IntegrationServices.EnvironmentVariable
The specified environment variable from the environment variable collection.
Vedere anche
Riferimento
EnvironmentVariableCollection Classe
Spazio dei nomi Microsoft.SqlServer.Management.IntegrationServices