RegisteredServer.Key Class

Represents the property that is associated with the object that is used to uniquely identify the object.

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)

public sealed class Key : SfcKey

The RegisteredServer.Key type exposes the following members.

  NameDescription
Public methodRegisteredServer.Key()Initializes a new instance of the RegisteredServer.Key class.
Public methodRegisteredServer.Key(String)Initializes a new instance of the RegisteredServer.Key class that has the specified name.
Public methodRegisteredServer.Key(RegisteredServer.Key)Initializes a new instance of the RegisteredServer.Key class based on the referenced key object.
Top

  NameDescription
Public propertyNameGets the name of the object key.
Top

  NameDescription
Public methodEquals(Object)Determines whether the object passed as a parameter is a key. (Overrides SfcKey.Equals(Object).)
Public methodEquals(SfcKey)Determines whether the specified object key is equal to the referenced object key. (Overrides SfcKey.Equals(SfcKey).)
Public methodStatic memberEquals(Object, Object)Determines whether the two object keys are equal.
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCodeReturns the hash code of the specified key. (Overrides SfcKey.GetHashCode().)
Public methodGetType (Inherited from Object.)
Public methodGetUrnFragmentGets the unique resource name path of the specified key. (Overrides SfcKey.GetUrnFragment().)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToStringDo 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

  NameDescription
Public operatorStatic memberEquality(Object, RegisteredServer.Key)Determines whether two objects are equal by performing an equality operation on them with the object and right operator specified.
Public operatorStatic memberEquality(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.
Public operatorStatic memberEquality(RegisteredServer.Key, Object)Determines whether two objects are equal by performing an equality operation on them with the object and left operator specified.
Public operatorStatic memberInequality(Object, RegisteredServer.Key)Determines whether two objects are equal by performing an inequality operation on them using the specified object and right operator.
Public operatorStatic memberInequality(RegisteredServer.Key, RegisteredServer.Key)Determines whether two objects are equal by performing an inequality operation on them using the left operator and right operator.
Public operatorStatic memberInequality(RegisteredServer.Key, Object)Determines whether two objects are equal by performing an inequality operation on them using the specified object and left operator.
Top

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.

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: