Partilhar via


Método IsHit

Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server. 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 (em Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Sintaxe

'Declaração
Public Function IsHit ( _
    field As String _
) As Boolean
'Uso
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

Parâmetros

Valor de retorno

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.