共用方式為


EnvironmentCollection.Item 屬性 (String)

Gets the environment from the environment 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 EnvironmentInfo 
    Get
'用途
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 支援索引屬性的使用,但不支援新屬性的宣告。

參數

屬性值

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

請參閱

參考

EnvironmentCollection 類別

Item 多載

Microsoft.SqlServer.Management.IntegrationServices 命名空間