EnvironmentReferenceCollection.Item 属性 (String, String)

Gets the environment reference from the environment reference collection based upon the specified name and environment folder name.

命名空间:  Microsoft.SqlServer.Management.IntegrationServices
程序集:  Microsoft.SqlServer.Management.IntegrationServices(在 Microsoft.SqlServer.Management.IntegrationServices.dll 中)

语法

声明
Public ReadOnly Default Property Item ( _
    name As String, _
    environmentFolderName As String _
) As EnvironmentReference 
    Get
用法
Dim instance As EnvironmentReferenceCollection 
Dim name As String 
Dim environmentFolderName As String 
Dim value As EnvironmentReference 

value = instance(name, environmentFolderName)
public EnvironmentReference this[
    string name,
    string environmentFolderName
] { get; }
public:
property EnvironmentReference^ default[String^ name, String^ environmentFolderName] {
    EnvironmentReference^ get (String^ name, String^ environmentFolderName);
}
member Item : EnvironmentReference
JScript 支持使用索引属性,但不支持声明新索引属性。

参数

  • name
    类型:System.String
    The name of the environment reference.
  • environmentFolderName
    类型:System.String
    The name of the environment folder.

属性值

类型:Microsoft.SqlServer.Management.IntegrationServices.EnvironmentReference
The specified environment reference from the environment reference collection.

请参阅

参考

EnvironmentReferenceCollection 类

Item 重载

Microsoft.SqlServer.Management.IntegrationServices 命名空间