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.