IsHit 方法

不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 Tests whether the specified field has caused this ConditionedSql object to be added.

命名空间:  Microsoft.SqlServer.Management.Sdk.Sfc
程序集:  Microsoft.SqlServer.Management.Sdk.Sfc(在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)

语法

声明
Public Function IsHit ( _
    field As String _
) As Boolean
用法
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

参数

返回值

类型: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.