Partager via


Classe SfcReferenceSelectorAttribute

Represents an attribute that allows valid values to be returned that can be applied to a property that is also a soft reference. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.

Cette API n'est pas conforme CLS. L'alternative conforme CLS est [false].

Hiérarchie d'héritage

System. . :: . .Object
  System. . :: . .Attribute
    Microsoft.SqlServer.Management.Sdk.Sfc.Metadata..::..SfcReferenceSelectorAttribute

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

Syntaxe

'Déclaration
<AttributeUsageAttribute(AttributeTargets.Property, Inherited := True, AllowMultiple := False)> _
<CLSCompliantAttribute(False)> _
Public Class SfcReferenceSelectorAttribute _
    Inherits Attribute
'Utilisation
Dim instance As SfcReferenceSelectorAttribute
[AttributeUsageAttribute(AttributeTargets.Property, Inherited = true, AllowMultiple = false)]
[CLSCompliantAttribute(false)]
public class SfcReferenceSelectorAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Property, Inherited = true, AllowMultiple = false)]
[CLSCompliantAttribute(false)]
public ref class SfcReferenceSelectorAttribute : public Attribute
[<AttributeUsageAttribute(AttributeTargets.Property, Inherited = true, AllowMultiple = false)>]
[<CLSCompliantAttribute(false)>]
type SfcReferenceSelectorAttribute =  
    class
        inherit Attribute
    end
public class SfcReferenceSelectorAttribute extends Attribute

Le type SfcReferenceSelectorAttribute expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique SfcReferenceSelectorAttribute Initializes a new instance of the SfcReferenceSelectorAttribute class with the specified field and path expression. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.

Haut de la page

Propriétés

  Nom Description
Propriété publique Arguments Gets the arguments for the PathExpression. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
Propriété publique Field Gets the field that needs to be return by the query. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
Propriété publique PathExpression Gets the path expression that is use to resolve the reference. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
Propriété publique TypeId (hérité de Attribute.)

Haut de la page

Méthodes

  Nom Description
Méthode publique Equals (hérité de Attribute.)
Méthode protégée Finalize (hérité de Object.)
Méthode publique GetHashCode (hérité de Attribute.)
Méthode publique GetType (hérité de Object.)
Méthode publique IsDefaultAttribute (hérité de Attribute.)
Méthode publique Match (hérité de Attribute.)
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode publique ToString (hérité de Object.)

Haut de la page

Implémentations d'interfaces explicites

  Nom Description
Implémentation d'interface expliciteMéthode privée _Attribute. . :: . .GetIDsOfNames (hérité de Attribute.)
Implémentation d'interface expliciteMéthode privée _Attribute. . :: . .GetTypeInfo (hérité de Attribute.)
Implémentation d'interface expliciteMéthode privée _Attribute. . :: . .GetTypeInfoCount (hérité de Attribute.)
Implémentation d'interface expliciteMéthode privée _Attribute. . :: . .Invoke (hérité de Attribute.)

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.