Share via


Classe ConditionedSql

Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. Represents Transact-SQL that is necessary only when a property is requested.

Hiérarchie d'héritage

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

Espace de noms :  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly :  Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntaxe

'Déclaration
<ComVisibleAttribute(False)> _
Public MustInherit Class ConditionedSql
'Utilisation
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

Le type ConditionedSql expose les membres suivants.

Constructeurs

  Nom Description
Méthode protégée ConditionedSql Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. Initializes a new instance of the ConditionedSql class.

Haut de la page

Propriétés

  Nom Description
Propriété protégée AcceptsMultipleHits Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. Gets a value indicating whether the ConditionedSql object can be added multiple times.
Propriété protégée Fields Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. Gets a StringCollection object that contains the names of the fields that trigger this ConditionedSql object to be added.
Propriété publique IsUsed Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. Gets a value indicating whether this ConditionedSql object has been used.
Propriété publique LinkFields Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. Gets the linked fields that are used to create the Transact-SQL expression.
Propriété publique LinkMultiple Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. Gets or sets the LinkMultiple object that is used by this ConditionedSql object.
Propriété publique Used Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. Gets a value that indicates whether this ConditionedSql object has been used at least once.

Haut de la page

Méthodes

  Nom Description
Méthode publique AddHit Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. Adds the ConditionedSql object to the specified StatementBuilder object.
Méthode publique AddLinkMultiple Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. Initializes the LinkMultiple object that is used by this ConditionedSql object with the multiple link information contained in the specified XmlReadMultipleLink object.
Méthode publique ClearHit Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. Marks this ConditionedSql object as unused. (The IsUsed property is set to false.)
Méthode publique Equals (hérité de Object.)
Méthode protégée Finalize (hérité de Object.)
Méthode publique GetHashCode (hérité de Object.)
Méthode publique GetType (hérité de Object.)
Méthode publique IsDefault Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. Specifies that this ConditionedSql object is always added, regardless of which field is requested.
Méthode publique 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.
Méthode publique MarkHit Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. Marks this ConditionedSql object as used. (The IsUsed property is set to true.)
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode publique SetFields Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. Sets the fields contained in the specified StringCollection as triggers for this ConditionedSql object. 
Méthode protégée TestHit Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. Tests whether the specified field would trigger this ConditionedSql object to be added.
Méthode publique ToString (hérité de Object.)

Haut de la page

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.