EnvironmentVariableCollection.Add Method (String, TypeCode, Object, Boolean, String)
Adds a variable.
Namespace: Microsoft.SqlServer.Management.IntegrationServices
Assembly: Microsoft.SqlServer.Management.IntegrationServices (in Microsoft.SqlServer.Management.IntegrationServices.dll)
Syntax
'Declaration
Public Sub Add ( _
varName As String, _
varType As TypeCode, _
varValue As Object, _
varSensitive As Boolean, _
varDesciption As String _
)
'Usage
Dim instance As EnvironmentVariableCollection
Dim varName As String
Dim varType As TypeCode
Dim varValue As Object
Dim varSensitive As Boolean
Dim varDesciption As String
instance.Add(varName, varType, varValue, _
varSensitive, varDesciption)
public void Add(
string varName,
TypeCode varType,
Object varValue,
bool varSensitive,
string varDesciption
)
public:
void Add(
String^ varName,
TypeCode varType,
Object^ varValue,
bool varSensitive,
String^ varDesciption
)
member Add :
varName:string *
varType:TypeCode *
varValue:Object *
varSensitive:bool *
varDesciption:string -> unit
public function Add(
varName : String,
varType : TypeCode,
varValue : Object,
varSensitive : boolean,
varDesciption : String
)
Parameters
- varName
Type: System.String
The name of the variable.
- varType
Type: System.TypeCode
The type of the variable.
- varValue
Type: System.Object
The value of the variable.
- varSensitive
Type: System.Boolean
true to the variable that is sensitive; otherwise, false.
- varDesciption
Type: System.String
The description of the variable.
See Also
Reference
EnvironmentVariableCollection Class
Microsoft.SqlServer.Management.IntegrationServices Namespace