AddHits 方法

不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 Tests the specified field against each of the ConditionedSql objects in the list. If the field is a trigger for the ConditionedSql object, the ConditionedSql object is added to the specified StatementBuilder object.

命名空间:  Microsoft.SqlServer.Management.Sdk.Sfc
程序集:  Microsoft.SqlServer.Management.Sdk.Sfc(在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)

语法

声明
Public Function AddHits ( _
    obj As SqlObjectBase, _
    field As String, _
    sb As StatementBuilder _
) As Boolean
用法
Dim instance As ConditionedSqlList
Dim obj As SqlObjectBase
Dim field As String
Dim sb As StatementBuilder
Dim returnValue As Boolean

returnValue = instance.AddHits(obj, field, _
    sb)
public bool AddHits(
    SqlObjectBase obj,
    string field,
    StatementBuilder sb
)
public:
bool AddHits(
    SqlObjectBase^ obj, 
    String^ field, 
    StatementBuilder^ sb
)
member AddHits : 
        obj:SqlObjectBase * 
        field:string * 
        sb:StatementBuilder -> bool 
public function AddHits(
    obj : SqlObjectBase, 
    field : String, 
    sb : StatementBuilder
) : boolean

参数

返回值

类型:System. . :: . .Boolean
true if a ConditionedSql object is added; otherwise, false.