共用方式為


Computer.Key Class

Definition

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

public: ref class Computer::Key sealed : Microsoft::SqlServer::Management::Sdk::Sfc::SfcKey
public sealed class Computer.Key : Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey
type Computer.Key = class
    inherit SfcKey
Public NotInheritable Class Computer.Key
Inherits SfcKey
Inheritance
Computer.Key

Remarks

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.

Constructors

Computer.Key()

Initializes a new instance of the Computer.Key class that has the specified name.

Computer.Key(Computer+Key)

Initializes a new instance of the Computer.Key class based on the specified key.

Computer.Key(String)

Initializes a new instance of the Computer.Key class that has the specified name.

Properties

InstanceType

Gets the type of the instance class associated with this key class.

(Inherited from SfcKey)
Name

Gets the name of the Computer key.

Methods

Equals(Object, Object)

Determines whether the two specified objects are equal.

Equals(Object)

Determines whether the specified object key is equal to the referenced string value.

Equals(SfcKey)

Determines whether the two specified objects are equal.

GetHashCode()

Gets the hash code for the object.

GetUrnFragment()

Gets the URN path partial string that represents the computer.

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)

Operators

Equality(Computer+Key, Computer+Key)

Determines whether the specified object key is equal to the second object key.

Equality(Computer+Key, Object)

Determines whether the specified object key is equal to the object.

Equality(Object, Computer+Key)

Determines whether the specified object is equal to the object key.

Inequality(Computer+Key, Computer+Key)

Determines whether the specified object key is not equal to the second object key.

Inequality(Computer+Key, Object)

Determines whether the specified object key is not equal to the object.

Inequality(Object, Computer+Key)

Determines whether the specified object is not equal to the object key.

Applies to