Share via


NameKey Class

Definition

Identifies NameKey object which has name property as the key.

public ref class NameKey abstract : Microsoft::SqlServer::Management::Sdk::Sfc::SfcKey
public abstract class NameKey : Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey
type NameKey = class
    inherit SfcKey
Public MustInherit Class NameKey
Inherits SfcKey
Inheritance
NameKey
Derived

Constructors

NameKey(String)

Initializes a new instance of the NameKey class with the specified key name.

Properties

InstanceType

Gets the type of the instance class associated with this key class.

(Inherited from SfcKey)
Name

Gets the key name.

Methods

Equals(Object, Object)

Determines whether the two specified objects are equal.

Equals(Object)

Determines whether the object represented by the NameKey is equal to the specified Object.

Equals(SfcKey)

Determines whether the object represented by the current NameKey is equal to the object represented by the specified key.

GetHashCode()

Returns hash code for this NameKey.

GetUrnFragment()

Do not reference this member directly in your code. It supports the SQL Server infrastructure. Gets the unique resource name (URN) path partial string that represents the object identified by the current SfcKey..

(Inherited from SfcKey)
ToString()

Do not reference this member directly in your code. It supports the SQL Server infrastructure. Returns a String value that is a sortable representation of the object that can be used in external comparers.

(Inherited from SfcKey)

Operators

Equality(NameKey, NameKey)

Determines whether the objects represented by the two specified NameKey values are the same.

Equality(NameKey, Object)

Determines whether the object represented by the specified NameKey is the same as the specified Object.

Equality(Object, NameKey)

Determines whether the specified Object is the same as the object represented by the specified NameKey.

Inequality(NameKey, NameKey)

Determines whether the objects represented by the two specified NameKey values are different.

Inequality(NameKey, Object)

Determines whether the object represented by the specified NameKey is different than the specified Object.

Inequality(Object, NameKey)

Determines whether the specified Object is different than the object represented by the specified NameKey.

Applies to