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
매개 변수
- obj
유형: Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SqlObjectBase
The SqlObjectBase object that that the field and StatementBuilder object belong to.
- field
유형: System. . :: . .String
The name of the field.
- sb
유형: Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .StatementBuilder
The StatementBuilder object that is used to construct Transact-SQL statements.
반환 값
유형: System. . :: . .Boolean
true if a ConditionedSql object is added; otherwise, false.