EnvironmentVariableCollection.Item Property (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 supports the use of indexed properties, but not the declaration of new ones.
Parameters
- name
Type: System.String
The name of the environment variable.
Property Value
Type: Microsoft.SqlServer.Management.IntegrationServices.EnvironmentVariable
The specified environment variable from the environment variable collection.
See Also
Reference
EnvironmentVariableCollection Class
Microsoft.SqlServer.Management.IntegrationServices Namespace