Partager via


Propriété EnvironmentReferenceCollection.Item (String, String)

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

Espace de noms :  Microsoft.SqlServer.Management.IntegrationServices
Assembly :  Microsoft.SqlServer.Management.IntegrationServices (en Microsoft.SqlServer.Management.IntegrationServices.dll)

Syntaxe

'Déclaration
Public ReadOnly Default Property Item ( _
    name As String, _
    environmentFolderName As String _
) As EnvironmentReference 
    Get
'Utilisation
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 prend en charge l'utilisation de propriétés indexées, mais pas la déclaration de nouvelles propriétés.

Paramètres

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

Valeur de propriété

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

Voir aussi

Référence

EnvironmentReferenceCollection Classe

Surcharge Item

Espace de noms Microsoft.SqlServer.Management.IntegrationServices