Share via


ConditionedSql.TestHit Method

Do not reference this member directly in your code. It supports the SQL Server infrastructure. Tests whether the specified field would trigger this ConditionedSql object to be added.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
Protected Function TestHit ( _
    field As String _
) As Boolean
'Usage
Dim field As String 
Dim returnValue As Boolean 

returnValue = Me.TestHit(field)
protected bool TestHit(
    string field
)
protected:
bool TestHit(
    String^ field
)
member TestHit : 
        field:string -> bool
protected function TestHit(
    field : String
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the specified field would trigger this ConditionedSql object; otherwise, false.

See Also

Reference

ConditionedSql Class

Microsoft.SqlServer.Management.Sdk.Sfc Namespace