Share via


EnvironmentCollection.Item Property (String)

Gets the environment from the environment 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 EnvironmentInfo 
    Get
'Usage
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 supports the use of indexed properties, but not the declaration of new ones.

Parameters

Property Value

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

See Also

Reference

EnvironmentCollection Class

Item Overload

Microsoft.SqlServer.Management.IntegrationServices Namespace