Share via


SchemaNamedKey<T> Class

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

Inheritance Hierarchy

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

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

Syntax

'Declaration
Public Class SchemaNamedKey(Of T As SfcInstance) _
    Inherits SfcKey _
    Implements IEquatable(Of SchemaNamedKey(Of T))
'Usage
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 does not support generic types and methods.

Type Parameters

The SchemaNamedKey<T> type exposes the following members.

Constructors

  Name Description
Public method SchemaNamedKey<T>() Initialize a new instance of theSchemaNamedKey<T> class.
Public method SchemaNamedKey<T>(IDictionary<String, Object>) Initializes a new instance of the SchemaNamedKey<T> class from a field dictionary.
Public method SchemaNamedKey<T>(String) Initializes a new instance of the SchemaNamedKey<T> class from a name string and default schema.
Public method SchemaNamedKey<T>(SchemaNamedKey<T>) Initializes a new instance of the SchemaNamedKey<T> class from another schema name key.
Public method SchemaNamedKey<T>(String, String) Initializes a new instance of the SchemaNamedKey<T> class from a name string and a schema string.

Top

Properties

  Name Description
Public property InstanceType Gets the instance type which this key represents. (Overrides SfcKey.InstanceType.)
Public property Name Gets the name key value.
Public property Schema Gets the schema key value.
Protected property UrnName Gets the Urn level name corresponding to the instance type which this key represents.

Top

Methods

  Name Description
Public method Equals(Object) Compares the schema name key to this key for value equality. (Overrides SfcKey.Equals(Object).)
Public method Equals(SchemaNamedKey<T>) Compares the schema name key to this key for value equality.
Public method Equals(SfcKey) Compares the schema name key to this key for value equality. (Overrides SfcKey.Equals(SfcKey).)
Public methodStatic member Equals(Object, Object) Compares two keys for value equality.
Protected method Finalize (Inherited from Object.)
Public method GetHashCode Generates a hash code for the key. (Overrides SfcKey.GetHashCode().)
Public method GetType (Inherited from Object.)
Public method GetUrnFragment Returns the Urn level fragment. (Overrides SfcKey.GetUrnFragment().)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString Returns the string value for the key. (Overrides SfcKey.ToString().)

Top

Operators

  Name Description
Public operatorStatic member Equality Compares two keys for value equality.
Public operatorStatic member Inequality Compares two keys for value inequality.

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.

See Also

Reference

Microsoft.SqlServer.Management.Sdk.Sfc Namespace