Classe Policy.Key
The Policy..::..Key class represents the key that identifies each instance of the Policy class.
Hierarquia de herança
System. . :: . .Object
Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcKey
Microsoft.SqlServer.Management.Dmf..::..Policy..::..Key
Namespace: Microsoft.SqlServer.Management.Dmf
Assembly: Microsoft.SqlServer.Dmf (em Microsoft.SqlServer.Dmf.dll)
Sintaxe
'Declaração
<StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey := "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")> _
Public NotInheritable Class Key _
Inherits SfcKey
'Uso
Dim instance As Policy.Key
[StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")]
public sealed class Key : SfcKey
[StrongNameIdentityPermissionAttribute(SecurityAction::LinkDemand, PublicKey = L"0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")]
public ref class Key sealed : public SfcKey
[<SealedAttribute>]
[<StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")>]
type Key =
class
inherit SfcKey
end
public final class Key extends SfcKey
O tipo Policy..::..Key expõe os membros a seguir.
Construtores
Nome | Descrição | |
---|---|---|
Policy. . :: . .Key() () () () | Initializes a new instance of the Policy..::..Key class. | |
Policy. . :: . .Key(String) | Initializes a new instance of the Policy..::..Key class that has the specified name. | |
Policy. . :: . .Key(Policy. . :: . .Key) | Initializes a new instance of the Policy..::..Key class based on the specified key. |
Início
Propriedades
Nome | Descrição | |
---|---|---|
Name | Gets a String value that specifies the name of the policy identified by the current Policy..::..Key. |
Início
Métodos
Nome | Descrição | |
---|---|---|
Equals(Object) | Determines if the specified object is the same as the policy identified by the current Policy..::..Key object. (Substitui SfcKey. . :: . .Equals(Object).) | |
Equals(SfcKey) | Determines if the specified object is the same as the policy identified by the current Policy..::..Key object. (Substitui SfcKey. . :: . .Equals(SfcKey).) | |
Equals(Object, Object) | Determines whether two objects are equal. | |
Finalize | (Herdado de Object.) | |
GetHashCode | Gets the hash code for the object. (Substitui SfcKey. . :: . .GetHashCode() () () ().) | |
GetType | (Herdado de Object.) | |
GetUrnFragment | Gets the unique resource name (URN) path partial string that represents the policy. (Substitui SfcKey. . :: . .GetUrnFragment() () () ().) | |
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, Policy. . :: . .Key) | Determines whether the object identified by a Object is the same as the object identified by a Policy..::..Key. | |
Equality(Policy. . :: . .Key, Policy. . :: . .Key) | Determines whether the objects identified by two Policy..::..Key objects are the same. | |
Equality(Policy. . :: . .Key, Object) | Determines whether the object identified by a Object is the same as the object identified by a Policy..::..Key. | |
Inequality(Object, Policy. . :: . .Key) | Determines whether the object identified by a Object is different than the object identified by a Policy..::..Key. | |
Inequality(Policy. . :: . .Key, Policy. . :: . .Key) | Determines whether the objects identified by two Policy..::..Key objects are the same. | |
Inequality(Policy. . :: . .Key, Object) | Determines whether the object identified by a Object is different than the object identified by a Policy..::..Key. |
Início
Comentários
Só há suporte para esse namespace, classe ou membro na versão 2.0 do Microsoft .NET Framework.
Thread Safety
Qualquer membro público estático (Compartilhado no Microsoft Visual Basic) desse tipo é seguro para operações multi-threaded. Não há garantia de que qualquer membro de instância seja seguro para threads.
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.