Freigeben über


ConditionedSql.IsHit-Methode

Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. 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

Parameter

Rückgabewert

Typ: 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.

Siehe auch

Verweis

ConditionedSql Klasse

Microsoft.SqlServer.Management.Sdk.Sfc-Namespace