Nota:
El acceso a esta página requiere autorización. Puede intentar iniciar sesión o cambiar directorios.
El acceso a esta página requiere autorización. Puede intentar cambiar los directorios.
Represents the single string name key for an instance class.
Jerarquía de herencia
System.Object
Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey
Microsoft.SqlServer.Management.Sdk.Sfc.NamedKey<T>
Espacio de nombres: Microsoft.SqlServer.Management.Sdk.Sfc
Ensamblado: Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Sintaxis
'Declaración
Public Class NamedKey(Of T As SfcInstance) _
Inherits SfcKey _
Implements IEquatable(Of NamedKey(Of T))
'Uso
Dim instance As NamedKey(Of T)
public class NamedKey<T> : SfcKey, IEquatable<NamedKey<T>>
where T : SfcInstance
generic<typename T>
where T : SfcInstance
public ref class NamedKey : public SfcKey,
IEquatable<NamedKey<T>^>
type NamedKey<'T when 'T : SfcInstance> =
class
inherit SfcKey
interface IEquatable<NamedKey<'T>>
end
JScript no admite tipos y métodos genéricos.
Parámetros de tipo
- T
The type of the name key for an instance.
El tipo NamedKey<T> expone los siguientes miembros.
Constructores
| Nombre | Descripción | |
|---|---|---|
![]() |
NamedKey<T>() | Initializes a new instance of the NamedKey<T> class. |
![]() |
NamedKey<T>(IDictionary<String, Object>) | Initializes a new instance of the NamedKey<T> class from a field dictionary. |
![]() |
NamedKey<T>(String) | Initializes a new instance of the NamedKey<T> class from a string. |
![]() |
NamedKey<T>(NamedKey<T>) | Initializes a new instance of the NamedKey<T> class from another name key. |
Arriba
Propiedades
| Nombre | Descripción | |
|---|---|---|
![]() |
InstanceType | Gets the instance type which the key represents. (Invalida SfcKey.InstanceType.) |
![]() |
Name | Gets the name key value. |
![]() |
UrnName | Gets the Urn level name corresponding to the instance type which the key represents. |
Arriba
Métodos
| Nombre | Descripción | |
|---|---|---|
![]() |
Equals(Object) | Compares a name key to the specified key for value of equality. (Invalida SfcKey.Equals(Object).) |
![]() |
Equals(NamedKey<T>) | Compares a name key to the specified key for value of equality. |
![]() |
Equals(SfcKey) | Compares a name key to the key for value of equality. (Invalida SfcKey.Equals(SfcKey).) |
![]() ![]() |
Equals(Object, Object) | Compares the two keys for value of equality. |
![]() |
Finalize | (Se hereda de Object.) |
![]() |
GetHashCode | Returns a hash code for the key. (Invalida SfcKey.GetHashCode().) |
![]() |
GetType | (Se hereda de Object.) |
![]() |
GetUrnFragment | Returns the Urn level fragment which obtains its name from the key name property by default. (Invalida SfcKey.GetUrnFragment().) |
![]() |
MemberwiseClone | (Se hereda de Object.) |
![]() |
ToString | Returns the string value for the key. (Invalida SfcKey.ToString().) |
Arriba
Operadores
| Nombre | Descripción | |
|---|---|---|
![]() ![]() |
Equality | Indicates whether the two keys are equal. |
![]() ![]() |
Inequality | Indicates whether the two keys are not equal. |
Arriba
Seguridad para subprocesos
Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)