RegisteredServer.Key Class
Represents the property that is associated with the object that is used to uniquely identify the object.
Inheritance Hierarchy
System.Object
Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey
Microsoft.SqlServer.Management.RegisteredServers.RegisteredServer.Key
Namespace: Microsoft.SqlServer.Management.RegisteredServers
Assembly: Microsoft.SqlServer.Management.RegisteredServers (in Microsoft.SqlServer.Management.RegisteredServers.dll)
Syntax
'Declaration
Public NotInheritable Class Key _
Inherits SfcKey
'Usage
Dim instance As RegisteredServer.Key
public sealed class Key : SfcKey
public ref class Key sealed : public SfcKey
[<SealedAttribute>]
type Key =
class
inherit SfcKey
end
public final class Key extends SfcKey
The RegisteredServer.Key type exposes the following members.
Constructors
Name | Description | |
---|---|---|
RegisteredServer.Key() | Initializes a new instance of the RegisteredServer.Key class. | |
RegisteredServer.Key(String) | Initializes a new instance of the RegisteredServer.Key class that has the specified name. | |
RegisteredServer.Key(RegisteredServer.Key) | Initializes a new instance of the RegisteredServer.Key class based on the referenced key object. |
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 key. |
Top
Methods
Name | Description | |
---|---|---|
Equals(Object) | Determines whether the object passed as a parameter is a key. (Overrides SfcKey.Equals(Object).) | |
Equals(SfcKey) | Determines whether the specified object key is equal to the referenced object key. (Overrides SfcKey.Equals(SfcKey).) | |
Equals(Object, Object) | Determines whether the two object keys are equal. | |
GetHashCode | Returns the hash code of the specified key. (Overrides SfcKey.GetHashCode().) | |
GetType | (Inherited from Object.) | |
GetUrnFragment | Gets the unique resource name path of the specified key. (Overrides SfcKey.GetUrnFragment().) | |
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, RegisteredServer.Key) | Determines whether two objects are equal by performing an equality operation on them with the object and right operator specified. | |
Equality(RegisteredServer.Key, RegisteredServer.Key) | Determines whether two objects are equal by performing an equality operation on them using the specified left operator and right operator. | |
Equality(RegisteredServer.Key, Object) | Determines whether two objects are equal by performing an equality operation on them with the object and left operator specified. | |
Inequality(Object, RegisteredServer.Key) | Determines whether two objects are equal by performing an inequality operation on them using the specified object and right operator. | |
Inequality(RegisteredServer.Key, RegisteredServer.Key) | Determines whether two objects are equal by performing an inequality operation on them using the left operator and right operator. | |
Inequality(RegisteredServer.Key, Object) | Determines whether two objects are equal by performing an inequality operation on them using the specified object and left operator. |
Top
Remarks
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.
Thread Safety
Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.
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.