共用方式為


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