NameKey Class
Identifies Microsoft.SqlServer.Utility objects that use a name property as an Sfc key.
Inheritance Hierarchy
System.Object
Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey
Microsoft.SqlServer.Management.Utility.NameKey
Microsoft.SqlServer.Management.Utility.ManagedInstance.Key
Namespace: Microsoft.SqlServer.Management.Utility
Assembly: Microsoft.SqlServer.Management.Utility (in Microsoft.SqlServer.Management.Utility.dll)
Syntax
'Declaration
Public MustInherit Class NameKey _
Inherits SfcKey
'Usage
Dim instance As NameKey
public abstract class NameKey : SfcKey
public ref class NameKey abstract : public SfcKey
[<AbstractClassAttribute>]
type NameKey =
class
inherit SfcKey
end
public abstract class NameKey extends SfcKey
The NameKey type exposes the following members.
Constructors
Name | Description | |
---|---|---|
NameKey | Initializes a new instance of the NameKey class with the specified key name. |
Top
Properties
Name | Description | |
---|---|---|
InstanceType | Gets the type of the instance class associated with this key class. (Inherited from SfcKey.) | |
Name | Gets the name of the object represented by the NameKey. |
Top
Methods
Name | Description | |
---|---|---|
Equals(Object) | Determines whether the object represented by the NameKey is equal to the specified Object. (Overrides SfcKey.Equals(Object).) | |
Equals(SfcKey) | Determines whether the object represented by the current NameKey is equal to the object represented by the specified key. (Overrides SfcKey.Equals(SfcKey).) | |
Equals(Object, Object) | Determines whether the two specified objects are equal. | |
Finalize | (Inherited from Object.) | |
GetHashCode | Returns the hash code for this NameKey. (Overrides SfcKey.GetHashCode().) | |
GetType | (Inherited from Object.) | |
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 [T:Microsoft.SqlServer.Management. Sdk.Sfc.SfcKey].. (Inherited from SfcKey.) | |
MemberwiseClone | (Inherited from Object.) | |
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.) |
Top
Operators
Name | Description | |
---|---|---|
Equality(Object, NameKey) | Determines whether the the specified Object is the same as the object represented by the specified NameKey . | |
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. | |
Inequality(Object, NameKey) | Determines whether the the specified Object is different than 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. |
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.