ConditionedSql.AddHit Method
Do not reference this member directly in your code. It supports the SQL Server infrastructure. Adds the ConditionedSql object to the specified StatementBuilder object.
Namespace: Microsoft.SqlServer.Management.Sdk.Sfc
Assembly: Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Syntax
'Declaration
Public MustOverride Sub AddHit ( _
field As String, _
obj As SqlObjectBase, _
sb As StatementBuilder _
)
'Usage
Dim instance As ConditionedSql
Dim field As String
Dim obj As SqlObjectBase
Dim sb As StatementBuilder
instance.AddHit(field, obj, sb)
public abstract void AddHit(
string field,
SqlObjectBase obj,
StatementBuilder sb
)
public:
virtual void AddHit(
String^ field,
SqlObjectBase^ obj,
StatementBuilder^ sb
) abstract
abstract AddHit :
field:string *
obj:SqlObjectBase *
sb:StatementBuilder -> unit
public abstract function AddHit(
field : String,
obj : SqlObjectBase,
sb : StatementBuilder
)
Parameters
- field
Type: System.String
The name of the field that triggered the ConditionedSql object.
- obj
Type: Microsoft.SqlServer.Management.Sdk.Sfc.SqlObjectBase
The SqlObjectBase object that the field and StatementBuilder object belong to.
- sb
Type: Microsoft.SqlServer.Management.Sdk.Sfc.StatementBuilder
The StatementBuilder object that is used to construct Transact-SQL statements.