EnvironmentReferenceCollection.Item Property (String, String)
Gets the environment reference from the environment reference collection based upon the specified name and environment folder name.
Namespace: Microsoft.SqlServer.Management.IntegrationServices
Assembly: Microsoft.SqlServer.Management.IntegrationServices (in Microsoft.SqlServer.Management.IntegrationServices.dll)
Syntax
'Declaration
Public ReadOnly Default Property Item ( _
name As String, _
environmentFolderName As String _
) As EnvironmentReference
Get
'Usage
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 supports the use of indexed properties, but not the declaration of new ones.
Parameters
- name
Type: System.String
The name of the environment reference.
- environmentFolderName
Type: System.String
The name of the environment folder.
Property Value
Type: Microsoft.SqlServer.Management.IntegrationServices.EnvironmentReference
The specified environment reference from the environment reference collection.
See Also
Reference
EnvironmentReferenceCollection Class
Microsoft.SqlServer.Management.IntegrationServices Namespace