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

Computer.Key Class

The Computer.Key class represents the key that identifies the Computer class.

System.Object
  Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey
    Microsoft.SqlServer.Management.Utility.Computer.Key

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

The Computer.Key type exposes the following members.

  NameDescription
Public methodComputer.Key()Initializes a new instance of the Computer.Key class that has the specified name.
Public methodComputer.Key(String)Initializes a new instance of the Computer.Key class that has the specified name.
Public methodComputer.Key(Computer.Key)Initializes a new instance of the Computer.Key class based on the specified key.
Top
  NameDescription
Public propertyInstanceTypeGets the type of the instance class associated with this key class. (Inherited from SfcKey.)
Public propertyNameGets the name of the Computer key.
Top
  NameDescription
Public methodEquals(Object)Determines whether the specified object key is equal to the referenced string value. (Overrides SfcKey.Equals(Object).)
Public methodEquals(SfcKey)Determines whether the two specified objects are equal. (Overrides SfcKey.Equals(SfcKey).)
Public methodStatic memberEquals(Object, Object)Determines whether the two specified objects are equal.
Public methodGetHashCodeGets the hash code for the object. (Overrides SfcKey.GetHashCode().)
Public methodGetType (Inherited from Object.)
Public methodGetUrnFragmentGets the URN path partial string that represents the computer. (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, Computer.Key)Determines whether the specified object is equal to the object key.
Public operatorStatic memberEquality(Computer.Key, Computer.Key)Determines whether the specified object key is equal to the second object key.
Public operatorStatic memberEquality(Computer.Key, Object)Determines whether the specified object key is equal to the object.
Public operatorStatic memberInequality(Object, Computer.Key)Determines whether the specified object is not equal to the object key.
Public operatorStatic memberInequality(Computer.Key, Computer.Key)Determines whether the specified object key is not equal to the second object key.
Public operatorStatic memberInequality(Computer.Key, Object)Determines whether the specified object key is not equal to the object.
Top

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.