NamedKey<T> Class

 

Represents the single string name key for an instance class.

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

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

public class NamedKey<T> : SfcKey, IEquatable<NamedKey<T>>
where T : SfcInstance

Type Parameters

T

The type of the name key for an instance.

NameDescription
System_CAPS_pubmethodNamedKey<T>()

Initializes a new instance of the NamedKey<T> class.

System_CAPS_pubmethodNamedKey<T>(IDictionary<String, Object>)

Initializes a new instance of the NamedKey<T> class from a field dictionary.

System_CAPS_pubmethodNamedKey<T>(NamedKey<T>)

Initializes a new instance of the NamedKey<T> class from another name key.

System_CAPS_pubmethodNamedKey<T>(String)

Initializes a new instance of the NamedKey<T> class from a string.

NameDescription
System_CAPS_pubpropertyInstanceType

Gets the instance type which the key represents.(Overrides SfcKey.InstanceType.)

System_CAPS_pubpropertyName

Gets the name key value.

System_CAPS_protpropertyUrnName

Gets the Urn level name corresponding to the instance type which the key represents.

NameDescription
System_CAPS_pubmethodEquals(NamedKey<T>)

Compares a name key to the specified key for value of equality.

System_CAPS_pubmethodEquals(Object)

Compares a name key to the specified key for value of equality.(Overrides SfcKey.Equals(Object).)

System_CAPS_pubmethodSystem_CAPS_staticEquals(Object, Object)

Compares the two keys for value of equality.

System_CAPS_pubmethodEquals(SfcKey)

Compares a name key to the key for value of equality.(Overrides SfcKey.Equals(SfcKey).)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Returns a hash code for the key.(Overrides SfcKey.GetHashCode().)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodGetUrnFragment()

Returns the Urn level fragment which obtains its name from the key name property by default.(Overrides SfcKey.GetUrnFragment().)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns the string value for the key.(Overrides SfcKey.ToString().)

NameDescription
System_CAPS_puboperatorSystem_CAPS_staticEquality(NamedKey<T>, NamedKey<T>)

Indicates whether the two keys are equal.

System_CAPS_puboperatorSystem_CAPS_staticInequality(NamedKey<T>, NamedKey<T>)

Indicates whether the two keys are not equal.

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: