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 命名空间