SqlModelComparerConfiguration.AddOrUpdateSqlCmdVariable Method
Adds or updates a SQL command variable.
Namespace: Microsoft.Data.Schema.Sql.SchemaModel.SqlServer
Assembly: Microsoft.Data.Schema.Sql (in Microsoft.Data.Schema.Sql.dll)
Syntax
'Declaration
Public Sub AddOrUpdateSqlCmdVariable ( _
name As String, _
value As String, _
isSource As Boolean _
)
'Usage
Dim instance As SqlModelComparerConfiguration
Dim name As String
Dim value As String
Dim isSource As Boolean
instance.AddOrUpdateSqlCmdVariable(name, _
value, isSource)
public void AddOrUpdateSqlCmdVariable(
string name,
string value,
bool isSource
)
public:
void AddOrUpdateSqlCmdVariable(
String^ name,
String^ value,
bool isSource
)
public function AddOrUpdateSqlCmdVariable(
name : String,
value : String,
isSource : boolean
)
member AddOrUpdateSqlCmdVariable :
name:string *
value:string *
isSource:bool -> unit
Parameters
- name
Type: System.String
The variable name
- value
Type: System.String
The value to add or update
- isSource
Type: System.Boolean
Specifies whether this is a source
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
SqlModelComparerConfiguration Class