Свойство EnvironmentVariableCollection.Item (String)

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

Пространство имен:  Microsoft.SqlServer.Management.IntegrationServices
Сборка:  Microsoft.SqlServer.Management.IntegrationServices (в Microsoft.SqlServer.Management.IntegrationServices.dll)

Синтаксис

'Декларация
Public ReadOnly Default Property Item ( _
    name As String _
) As EnvironmentVariable 
    Get
'Применение
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 поддерживает использование индексированных свойств, но не объявление новых.

Параметры

  • name
    Тип: System.String
    The name of the environment variable.

Значение свойства

Тип: Microsoft.SqlServer.Management.IntegrationServices.EnvironmentVariable
The specified environment variable from the environment variable collection.

См. также

Справочник

EnvironmentVariableCollection Класс

Перегрузка Item

Пространство имен Microsoft.SqlServer.Management.IntegrationServices