Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ServerGroup.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.ServerGroup.Key

Namespace:  Microsoft.SqlServer.Management.RegisteredServers
Assembly:  Microsoft.SqlServer.Management.RegisteredServers (in Microsoft.SqlServer.Management.RegisteredServers.dll)
public sealed class Key : SfcKey

The ServerGroup.Key type exposes the following members.

  NameDescription
Public methodServerGroup.Key()Initializes a new instance of the ServerGroup.Key class.
Public methodServerGroup.Key(String)Initializes a new instance of the ServerGroup.Key class that has the specified name.
Public methodServerGroup.Key(ServerGroup.Key)Initializes a new instance of the ServerGroup.Key class that is based on the referenced key object.
Top
  NameDescription
Public propertyInstanceTypeGets the type of the instance class associated with this key class. (Inherited from SfcKey.)
Public propertyNameGets a String value that specifies the name of the server group key.
Top
  NameDescription
Public methodEquals(Object)Determines whether the specified Object is equal to the server group represented by the ServerGroup.Key object. (Overrides SfcKey.Equals(Object).)
Public methodEquals(SfcKey)Determines whether the object identified by the specified Key is equal to the server group represented by the ServerGroup.Key object. (Overrides SfcKey.Equals(SfcKey).)
Public methodStatic memberEquals(Object, Object)Determines whether the two specified objects are the same.
Public methodGetHashCodeGets the hash code for the server group. (Overrides SfcKey.GetHashCode().)
Public methodGetType (Inherited from Object.)
Public methodGetUrnFragmentGets the partial unique resource name (URN) path string that represents the server group. (Overrides SfcKey.GetUrnFragment().)
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, ServerGroup.Key)Determines whether the object identified by a Object is the same as the object identified by a ServerGroup.Key.
Public operatorStatic memberEquality(ServerGroup.Key, ServerGroup.Key)Determines whether the objects identified by two ServerGroup.Key objects are the same.
Public operatorStatic memberEquality(ServerGroup.Key, Object)Determines whether the object identified by a Object is the same as the object identified by a ServerGroup.Key.
Public operatorStatic memberInequality(Object, ServerGroup.Key)Determines whether the object identified by a Object is different than the object identified by a RegisteredServersStore.Key.
Public operatorStatic memberInequality(ServerGroup.Key, ServerGroup.Key)Determines whether the objects identified by two ServerGroup.Key objects are different.
Public operatorStatic memberInequality(ServerGroup.Key, Object)Determines whether the object identified by a Object is different than the object identified by a RegisteredServersStore.Key.
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.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.