Share via


EnvironmentReferenceCollection.Add Method (String, String)

Adds a reference to an environment with the specified environment name and folder name.

Namespace:  Microsoft.SqlServer.Management.IntegrationServices
Assembly:  Microsoft.SqlServer.Management.IntegrationServices (in Microsoft.SqlServer.Management.IntegrationServices.dll)

Syntax

'Declaration
Public Sub Add ( _
    envName As String, _
    envFolderName As String _
)
'Usage
Dim instance As EnvironmentReferenceCollection 
Dim envName As String 
Dim envFolderName As String

instance.Add(envName, envFolderName)
public void Add(
    string envName,
    string envFolderName
)
public:
void Add(
    String^ envName, 
    String^ envFolderName
)
member Add : 
        envName:string * 
        envFolderName:string -> unit
public function Add(
    envName : String, 
    envFolderName : String
)

Parameters

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

See Also

Reference

EnvironmentReferenceCollection Class

Add Overload

Microsoft.SqlServer.Management.IntegrationServices Namespace