Classe SchemaNamedKey<T>

Represents the composite string schema and name key for an instance class.

Hiérarchie d'héritage

System.Object
  Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey
    Microsoft.SqlServer.Management.Sdk.Sfc.SchemaNamedKey<T>

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

Syntaxe

'Déclaration
Public Class SchemaNamedKey(Of T As SfcInstance) _
    Inherits SfcKey _
    Implements IEquatable(Of SchemaNamedKey(Of T))
'Utilisation
Dim instance As SchemaNamedKey(Of T)
public class SchemaNamedKey<T> : SfcKey, 
    IEquatable<SchemaNamedKey<T>>
where T : SfcInstance
generic<typename T>
where T : SfcInstance 
public ref class SchemaNamedKey : public SfcKey, 
    IEquatable<SchemaNamedKey<T>^>
type SchemaNamedKey<'T when 'T : SfcInstance> =  
    class 
        inherit SfcKey 
        interface IEquatable<SchemaNamedKey<'T>>
    end
JScript ne prend pas en charge les types et les méthodes génériques.

Paramètres de type

Le type SchemaNamedKey<T> expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique SchemaNamedKey<T>() Initialize a new instance of theSchemaNamedKey<T> class.
Méthode publique SchemaNamedKey<T>(IDictionary<String, Object>) Initializes a new instance of the SchemaNamedKey<T> class from a field dictionary.
Méthode publique SchemaNamedKey<T>(String) Initializes a new instance of the SchemaNamedKey<T> class from a name string and default schema.
Méthode publique SchemaNamedKey<T>(SchemaNamedKey<T>) Initializes a new instance of the SchemaNamedKey<T> class from another schema name key.
Méthode publique SchemaNamedKey<T>(String, String) Initializes a new instance of the SchemaNamedKey<T> class from a name string and a schema string.

Haut de la page

Propriétés

  Nom Description
Propriété publique InstanceType Gets the instance type which this key represents. (remplace SfcKey.InstanceType.)
Propriété publique Name Gets the name key value.
Propriété publique Schema Gets the schema key value.
Propriété protégée UrnName Gets the Urn level name corresponding to the instance type which this key represents.

Haut de la page

Méthodes

  Nom Description
Méthode publique Equals(Object) Compares the schema name key to this key for value equality. (remplace SfcKey.Equals(Object).)
Méthode publique Equals(SchemaNamedKey<T>) Compares the schema name key to this key for value equality.
Méthode publique Equals(SfcKey) Compares the schema name key to this key for value equality. (remplace SfcKey.Equals(SfcKey).)
Méthode publiqueMembre statique Equals(Object, Object) Compares two keys for value equality.
Méthode protégée Finalize (hérité de Object.)
Méthode publique GetHashCode Generates a hash code for the key. (remplace SfcKey.GetHashCode().)
Méthode publique GetType (hérité de Object.)
Méthode publique GetUrnFragment Returns the Urn level fragment. (remplace SfcKey.GetUrnFragment().)
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode publique ToString Returns the string value for the key. (remplace SfcKey.ToString().)

Haut de la page

Opérateurs

  Nom Description
Opérateur publicMembre statique Equality Compares two keys for value equality.
Opérateur publicMembre statique Inequality Compares two keys for value inequality.

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.

Voir aussi

Référence

Espace de noms Microsoft.SqlServer.Management.Sdk.Sfc