Classe NameKey
Identifies Microsoft.SqlServer.Utility objects that use a name property as an Sfc key.
Hierarquia de herança
System.Object
Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey
Microsoft.SqlServer.Management.Utility.NameKey
Microsoft.SqlServer.Management.Utility.ManagedInstance.Key
Namespace: Microsoft.SqlServer.Management.Utility
Assembly: Microsoft.SqlServer.Management.Utility (em Microsoft.SqlServer.Management.Utility.dll)
Sintaxe
'Declaração
Public MustInherit Class NameKey _
Inherits SfcKey
'Uso
Dim instance As NameKey
public abstract class NameKey : SfcKey
public ref class NameKey abstract : public SfcKey
[<AbstractClassAttribute>]
type NameKey =
class
inherit SfcKey
end
public abstract class NameKey extends SfcKey
O tipo NameKey expõe os membros a seguir.
Construtores
Nome | Descrição | |
---|---|---|
NameKey | Initializes a new instance of the NameKey class with the specified key name. |
Início
Propriedades
Nome | Descrição | |
---|---|---|
InstanceType | Gets the type of the instance class associated with this key class. (Herdado de SfcKey.) | |
Name | Gets the name of the object represented by the NameKey. |
Início
Métodos
Nome | Descrição | |
---|---|---|
Equals(Object) | Determines whether the object represented by the NameKey is equal to the specified Object. (Substitui SfcKey.Equals(Object).) | |
Equals(SfcKey) | Determines whether the object represented by the current NameKey is equal to the object represented by the specified key. (Substitui SfcKey.Equals(SfcKey).) | |
Equals(Object, Object) | Determines whether the two specified objects are equal. | |
Finalize | (Herdado de Object.) | |
GetHashCode | Returns the hash code for this NameKey. (Substitui SfcKey.GetHashCode().) | |
GetType | (Herdado de Object.) | |
GetUrnFragment | Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server. Gets the unique resource name (URN) path partial string that represents the object identified by the current [T:Microsoft.SqlServer.Management. Sdk.Sfc.SfcKey].. (Herdado de SfcKey.) | |
MemberwiseClone | (Herdado de Object.) | |
ToString | Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server. Returns a String value that is a sortable representation of the object that can be used in external comparers. (Herdado de SfcKey.) |
Início
Operadores
Nome | Descrição | |
---|---|---|
Equality(Object, NameKey) | Determines whether the the specified Object is the same as the object represented by the specified NameKey . | |
Equality(NameKey, NameKey) | Determines whether the objects represented by the two specified NameKey values are the same. | |
Equality(NameKey, Object) | Determines whether the object represented by the specified NameKey is the same as the specified Object. | |
Inequality(Object, NameKey) | Determines whether the the specified Object is different than the object represented by the specified NameKey . | |
Inequality(NameKey, NameKey) | Determines whether the objects represented by the two specified NameKey values are different. | |
Inequality(NameKey, Object) | Determines whether the object represented by the specified NameKey is different than the specified Object. |
Início
Segurança de thread
Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.