Condividi tramite


Metodo IsHit

Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Tests whether the specified field has caused this ConditionedSql object to be added.

Spazio dei nomi  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Sintassi

'Dichiarazione
Public Function IsHit ( _
    field As String _
) As Boolean
'Utilizzo
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

Parametri

Valore restituito

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