Dela via


NamedDomainKey<T> Class

Represents the domain key with a string name for a general SFC domain root instance.

Inheritance Hierarchy

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

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

Syntax

'Declaration
Public Class NamedDomainKey(Of T As ISfcDomain) _
    Inherits DomainRootKey _
    Implements IEquatable(Of NamedDomainKey(Of T))
'Usage
Dim instance As NamedDomainKey(Of T)
public class NamedDomainKey<T> : DomainRootKey, 
    IEquatable<NamedDomainKey<T>>
where T : ISfcDomain
generic<typename T>
where T : ISfcDomain 
public ref class NamedDomainKey : public DomainRootKey, 
    IEquatable<NamedDomainKey<T>^>
type NamedDomainKey<'T when 'T : ISfcDomain> =  
    class 
        inherit DomainRootKey 
        interface IEquatable<NamedDomainKey<'T>>
    end
JScript does not support generic types and methods.

Type Parameters

  • T
    The ISfcDomain

The NamedDomainKey<T> type exposes the following members.

Constructors

  Name Description
Public method NamedDomainKey<T>() Initializes a new instance of the NamedDomainKey<T> class with default values.
Public method NamedDomainKey<T>(ISfcDomain) Initializes a new instance of the NamedDomainKey<T> class with specified domain instance name.
Public method NamedDomainKey<T>(ISfcDomain, IDictionary<String, Object>) Initializes a new instance of the NamedDomainKey<T> class with specified domain instance name and fields dictionary.
Public method NamedDomainKey<T>(ISfcDomain, String) Initializes a new instance of the NamedDomainKey<T> class with specified domain instance name and given name.

Top

Properties

  Name Description
Public property Domain Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from DomainRootKey.)
Public property InstanceType Gets the instance type which the current key represents. (Overrides SfcKey.InstanceType.)
Public property Name Gets the name key value.
Protected property UrnName Gets the Urn level name corresponding to the instance type which the specified key represents.

Top

Methods

  Name Description
Public method Equals(Object) Compare a schema name key to this key for value equality. (Overrides SfcKey.Equals(Object).)
Public method Equals(NamedDomainKey<T>) Compare a schema name key to this key for value equality.
Public method Equals(SfcKey) Compare a schema name key to this key for value equality. (Overrides SfcKey.Equals(SfcKey).)
Public methodStatic member Equals(Object, Object) Returns whether the two key values are equal.
Protected method Finalize (Inherited from Object.)
Public method GetHashCode Generate a hash code for the key. (Overrides SfcKey.GetHashCode().)
Public method GetType (Inherited from Object.)
Public method GetUrnFragment Obtains a URN level fragment from the key name property by default. (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 Returns whether the two keys are equal.
Public operatorStatic member Inequality Returns whether the two keys are not equal.

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