EnvironmentVariableCollection.Add 方法 (String, TypeCode, Object, Boolean, String)
Adds a variable.
命名空間: Microsoft.SqlServer.Management.IntegrationServices
組件: Microsoft.SqlServer.Management.IntegrationServices (在 Microsoft.SqlServer.Management.IntegrationServices.dll 中)
語法
'宣告
Public Sub Add ( _
varName As String, _
varType As TypeCode, _
varValue As Object, _
varSensitive As Boolean, _
varDesciption As String _
)
'用途
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
)
參數
- varName
型別:System.String
The name of the variable.
- varType
型別:System.TypeCode
The type of the variable.
- varValue
型別:System.Object
The value of the variable.
- varSensitive
型別:System.Boolean
true to the variable that is sensitive; otherwise, false.
- varDesciption
型別:System.String
The description of the variable.