Freigeben über


EnvironmentVariableCollection.Item-Eigenschaft (String)

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

Namespace:  Microsoft.SqlServer.Management.IntegrationServices
Assembly:  Microsoft.SqlServer.Management.IntegrationServices (in Microsoft.SqlServer.Management.IntegrationServices.dll)

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    name As String _
) As EnvironmentVariable 
    Get
'Usage
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 unterstützt die Verwendung indizierter Eigenschaften, aber nicht die Deklaration neuer Eigenschaften.

Parameter

Eigenschaftswert

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

Siehe auch

Verweis

EnvironmentVariableCollection Klasse

Item-Überladung

Microsoft.SqlServer.Management.IntegrationServices-Namespace