Export (0) Print
Expand All

NamedKey<T> Class

Represents the single string name key for an instance class.

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

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

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

Type Parameters

T

The type of the name key for an instance.

The NamedKey<T> type exposes the following members.

  NameDescription
Public methodNamedKey<T>()Initializes a new instance of the NamedKey<T> class.
Public methodNamedKey<T>(IDictionary<String, Object>)Initializes a new instance of the NamedKey<T> class from a field dictionary.
Public methodNamedKey<T>(String)Initializes a new instance of the NamedKey<T> class from a string.
Public methodNamedKey<T>(NamedKey<T>)Initializes a new instance of the NamedKey<T> class from another name key.
Top

  NameDescription
Public propertyInstanceTypeGets the instance type which the key represents. (Overrides SfcKey.InstanceType.)
Public propertyNameGets the name key value.
Protected propertyUrnNameGets the Urn level name corresponding to the instance type which the key represents.
Top

  NameDescription
Public methodEquals(Object)Compares a name key to the specified key for value of equality. (Overrides SfcKey.Equals(Object).)
Public methodEquals(NamedKey<T>)Compares a name key to the specified key for value of equality.
Public methodEquals(SfcKey)Compares a name key to the key for value of equality. (Overrides SfcKey.Equals(SfcKey).)
Public methodStatic memberEquals(Object, Object)Compares the two keys for value of equality.
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCodeReturns a hash code for the key. (Overrides SfcKey.GetHashCode().)
Public methodGetType (Inherited from Object.)
Public methodGetUrnFragmentReturns the Urn level fragment which obtains its name from the key name property by default. (Overrides SfcKey.GetUrnFragment().)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToStringReturns the string value for the key. (Overrides SfcKey.ToString().)
Top

  NameDescription
Public operatorStatic memberEqualityIndicates whether the two keys are equal.
Public operatorStatic memberInequalityIndicates whether the two keys are not equal.
Top

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

Community Additions

ADD
Show:
© 2014 Microsoft