Computer.Key-Klasse
The Computer.Key class represents the key that identifies the Computer class.
Vererbungshierarchie
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)
Syntax
'Declaration
Public NotInheritable Class Key _
Inherits SfcKey
'Usage
Dim instance As Computer.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
Der Computer.Key-Typ macht folgende Elemente verfügbar.
Konstruktoren
Name | Beschreibung | |
---|---|---|
Computer.Key() | Initializes a new instance of the Computer.Key class that has the specified name. | |
Computer.Key(String) | 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. |
Zum Anfang
Eigenschaften
Name | Beschreibung | |
---|---|---|
InstanceType | Gets the type of the instance class associated with this key class. (Geerbt von SfcKey.) | |
Name | Gets the name of the Computer key. |
Zum Anfang
Methoden
Name | Beschreibung | |
---|---|---|
Equals(Object) | Determines whether the specified object key is equal to the referenced string value. (Überschreibt SfcKey.Equals(Object).) | |
Equals(SfcKey) | Determines whether the two specified objects are equal. (Überschreibt SfcKey.Equals(SfcKey).) | |
Equals(Object, Object) | Determines whether the two specified objects are equal. | |
GetHashCode | Gets the hash code for the object. (Überschreibt SfcKey.GetHashCode().) | |
GetType | (Geerbt von Object.) | |
GetUrnFragment | Gets the URN path partial string that represents the computer. (Überschreibt SfcKey.GetUrnFragment().) | |
ToString | Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. Returns a String value that is a sortable representation of the object that can be used in external comparers. (Geerbt von SfcKey.) |
Zum Anfang
Operatoren
Name | Beschreibung | |
---|---|---|
Equality(Object, Computer.Key) | Determines whether the specified object is equal to the object key. | |
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. | |
Inequality(Object, Computer.Key) | Determines whether the specified object is not 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. |
Zum Anfang
Hinweise
Thread Safety
Alle öffentlichen, statischen Elemente dieses Typs (Shared in Microsoft Visual Basic) sind für Vorgänge mit mehreren Threads sicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.
Threadsicherheit
Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.