Méthode IsHit
Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. Tests whether the specified field has caused this ConditionedSql object to be added.
Espace de noms : Microsoft.SqlServer.Management.Sdk.Sfc
Assembly : Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Syntaxe
'Déclaration
Public Function IsHit ( _
field As String _
) As Boolean
'Utilisation
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
Paramètres
- field
Type : System. . :: . .String
The name of the field to test.
Valeur de retour
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.