Share via


ConditionedSql.IsHit Method

Do not reference this member directly in your code. It supports the SQL Server infrastructure. Tests whether the specified field has caused 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
Public Function IsHit ( _
    field As String _
) As Boolean
'Usage
Dim instance As ConditionedSql
Dim field As String
Dim returnValue As Boolean

returnValue = instance.IsHit(field)
public bool IsHit(
    string field
)
public:
bool IsHit(
    String^ field
)
member IsHit : 
        field:string -> bool 
public function IsHit(
    field : String
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the field has caused this ConditionedSql object to be added; otherwise, false. If the AcceptsMultipleHits property is set to true, this method always returns false.