ConditionedSql 类

不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 Represents Transact-SQL that is necessary only when a property is requested.

继承层次结构

System. . :: . .Object
  Microsoft.SqlServer.Management.Sdk.Sfc..::..ConditionedSql
    Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SqlPropertyLink

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

语法

声明
<ComVisibleAttribute(False)> _
Public MustInherit Class ConditionedSql
用法
Dim instance As ConditionedSql
[ComVisibleAttribute(false)]
public abstract class ConditionedSql
[ComVisibleAttribute(false)]
public ref class ConditionedSql abstract
[<AbstractClassAttribute>]
[<ComVisibleAttribute(false)>]
type ConditionedSql =  class end
public abstract class ConditionedSql

ConditionedSql 类型公开以下成员。

构造函数

  名称 说明
受保护方法 ConditionedSql 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 Initializes a new instance of the ConditionedSql class.

页首

属性

  名称 说明
受保护属性 AcceptsMultipleHits 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 Gets a value indicating whether the ConditionedSql object can be added multiple times.
受保护属性 Fields 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 Gets a StringCollection object that contains the names of the fields that trigger this ConditionedSql object to be added.
公共属性 IsUsed 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 Gets a value indicating whether this ConditionedSql object has been used.
公共属性 LinkFields 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 Gets the linked fields that are used to create the Transact-SQL expression.
公共属性 LinkMultiple 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 Gets or sets the LinkMultiple object that is used by this ConditionedSql object.
公共属性 Used 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 Gets a value that indicates whether this ConditionedSql object has been used at least once.

页首

方法

  名称 说明
公共方法 AddHit 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 Adds the ConditionedSql object to the specified StatementBuilder object.
公共方法 AddLinkMultiple 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 Initializes the LinkMultiple object that is used by this ConditionedSql object with the multiple link information contained in the specified XmlReadMultipleLink object.
公共方法 ClearHit 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 Marks this ConditionedSql object as unused. (The IsUsed property is set to false.)
公共方法 Equals (从 Object 继承。)
受保护方法 Finalize (从 Object 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetType (从 Object 继承。)
公共方法 IsDefault 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 Specifies that this ConditionedSql object is always added, regardless of which field is requested.
公共方法 IsHit 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 Tests whether the specified field has caused this ConditionedSql object to be added.
公共方法 MarkHit 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 Marks this ConditionedSql object as used. (The IsUsed property is set to true.)
受保护方法 MemberwiseClone (从 Object 继承。)
公共方法 SetFields 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 Sets the fields contained in the specified StringCollection as triggers for this ConditionedSql object. 
受保护方法 TestHit 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 Tests whether the specified field would trigger this ConditionedSql object to be added.
公共方法 ToString (从 Object 继承。)

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。