Share via


ConditionedSql Class

Do not reference this member directly in your code. It supports the SQL Server infrastructure. Represents Transact-SQL that is necessary only when a property is requested.

Inheritance Hierarchy

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

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
<ComVisibleAttribute(False)> _
Public MustInherit Class ConditionedSql
'Usage
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

The ConditionedSql type exposes the following members.

Constructors

  Name Description
Protected method ConditionedSql Do not reference this member directly in your code. It supports the SQL Server infrastructure. Initializes a new instance of the ConditionedSql class.

Top

Properties

  Name Description
Protected property AcceptsMultipleHits Do not reference this member directly in your code. It supports the SQL Server infrastructure. Gets a value indicating whether the ConditionedSql object can be added multiple times.
Protected property Fields Do not reference this member directly in your code. It supports the SQL Server infrastructure. Gets a StringCollection object that contains the names of the fields that trigger this ConditionedSql object to be added.
Public property IsUsed Do not reference this member directly in your code. It supports the SQL Server infrastructure. Gets a value indicating whether this ConditionedSql object has been used.
Public property LinkFields Do not reference this member directly in your code. It supports the SQL Server infrastructure. Gets the linked fields that are used to create the Transact-SQL expression.
Public property LinkMultiple Do not reference this member directly in your code. It supports the SQL Server infrastructure. Gets or sets the LinkMultiple object that is used by this ConditionedSql object.
Public property Used Do not reference this member directly in your code. It supports the SQL Server infrastructure. Gets a value that indicates whether this ConditionedSql object has been used at least once.

Top

Methods

  Name Description
Public method AddHit Do not reference this member directly in your code. It supports the SQL Server infrastructure. Adds the ConditionedSql object to the specified StatementBuilder object.
Public method AddLinkMultiple Do not reference this member directly in your code. It supports the SQL Server infrastructure. Initializes the LinkMultiple object that is used by this ConditionedSql object with the multiple link information contained in the specified XmlReadMultipleLink object.
Public method ClearHit Do not reference this member directly in your code. It supports the SQL Server infrastructure. Marks this ConditionedSql object as unused. (The IsUsed property is set to false.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method IsDefault Do not reference this member directly in your code. It supports the SQL Server infrastructure. Specifies that this ConditionedSql object is always added, regardless of which field is requested.
Public method IsHit Do not reference this member directly in your code. It supports the SQL Server infrastructure. Tests whether the specified field has caused this ConditionedSql object to be added.
Public method MarkHit Do not reference this member directly in your code. It supports the SQL Server infrastructure. Marks this ConditionedSql object as used. (The IsUsed property is set to true.)
Protected method MemberwiseClone (Inherited from Object.)
Public method SetFields Do not reference this member directly in your code. It supports the SQL Server infrastructure. Sets the fields contained in the specified StringCollection as triggers for this ConditionedSql object. 
Protected method TestHit Do not reference this member directly in your code. It supports the SQL Server infrastructure. Tests whether the specified field would trigger this ConditionedSql object to be added.
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.