Condividi tramite


Classe PolicyCategory.Key

The PolicyCategory..::..Key class represents the key that identifies the PolicyCategory class.

Gerarchia di ereditarietà

System. . :: . .Object
  Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcKey
    Microsoft.SqlServer.Management.Dmf..::..PolicyCategory..::..Key

Spazio dei nomi  Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)

Sintassi

'Dichiarazione
<StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey := "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")> _
Public NotInheritable Class Key _
    Inherits SfcKey
'Utilizzo
Dim instance As PolicyCategory.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

Nel tipo PolicyCategory..::..Key sono esposti i membri seguenti.

Costruttori

  Nome Descrizione
Metodo pubblico PolicyCategory. . :: . .Key() () () () Initializes a new instance of the PolicyCategory..::..Key class.
Metodo pubblico PolicyCategory. . :: . .Key(String) Initializes a new instance of the PolicyCategory..::..Key class that has the specified name.
Metodo pubblico PolicyCategory. . :: . .Key(PolicyCategory. . :: . .Key) Initializes a new instance of the PolicyCategory..::..Key class based on the specified key.

In alto

Proprietà

  Nome Descrizione
Proprietà pubblica Name Gets the name of the PolicyCategory key.

In alto

Metodi

  Nome Descrizione
Metodo pubblico Equals(Object) Determines whether the specified object key is equal to the referenced object key. Esegue l'override di SfcKey. . :: . .Equals(Object).
Metodo pubblico Equals(SfcKey) Determines whether the two specified objects are equal. Esegue l'override di SfcKey. . :: . .Equals(SfcKey).
Metodo pubblicoMembro statico Equals(Object, Object) Determines whether the specified object key is equal to the referenced object key.
Metodo protetto Finalize Ereditato da Object.
Metodo pubblico GetHashCode Gets the hash code for the object. Esegue l'override di SfcKey. . :: . .GetHashCode() () () ().
Metodo pubblico GetType Ereditato da Object.
Metodo pubblico GetUrnFragment Gets the unique resource name (URN) path partial string that represents the policy category. Esegue l'override di SfcKey. . :: . .GetUrnFragment() () () ().
Metodo protetto MemberwiseClone Ereditato da Object.
Metodo pubblico ToString Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Returns a String value that is a sortable representation of the object that can be used in external comparers. Ereditato da SfcKey.

In alto

Operatori

  Nome Descrizione
Operatore pubblicoMembro statico Equality(Object, PolicyCategory. . :: . .Key) Performs a Boolean equality operation to determine whether two policy category objects reference the same policy category.
Operatore pubblicoMembro statico Equality(PolicyCategory. . :: . .Key, PolicyCategory. . :: . .Key) Performs a Boolean equality operation to determine whether two policy category objects reference the same policy category.
Operatore pubblicoMembro statico Equality(PolicyCategory. . :: . .Key, Object) Performs a Boolean equality operation to determine whether two policy category objects reference the same policy category.
Operatore pubblicoMembro statico Inequality(Object, PolicyCategory. . :: . .Key) Performs a Boolean equality operation to determine whether two policy category keys reference the same policy category.
Operatore pubblicoMembro statico Inequality(PolicyCategory. . :: . .Key, PolicyCategory. . :: . .Key) Performs a Boolean equality operation to determine whether two policy category objects reference the same policy category.
Operatore pubblicoMembro statico Inequality(PolicyCategory. . :: . .Key, Object) Performs a Boolean equality operation to determine whether two policy category keys reference the same policy category.

In alto

Osservazioni

Questo spazio dei nomi, classe o membro è supportato solo nella versione 2.0 di Microsoft .NET Framework.

Thread Safety

Tutti i membri statici pubblici (Shared in Microsoft Visual Basic) di questo tipo sono sicuri per le operazioni a thread multipli. Non è invece garantita la sicurezza dei membri dell'istanza.

Protezione dei thread

I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.