Share via


ConnectionEvaluationHistory.Key Class

The ConnectionEvaluationHistory.Key class represents the key that is used to identify the ConnectionEvaluationHistory class.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey
    Microsoft.SqlServer.Management.Dmf.ConnectionEvaluationHistory.Key

Namespace:  Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)

Syntax

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

The ConnectionEvaluationHistory.Key type exposes the following members.

Constructors

  Name Description
Public method ConnectionEvaluationHistory.Key() Initializes a new instance of the ConnectionEvaluationHistory.Key class.
Public method ConnectionEvaluationHistory.Key(Int64) Initializes a new instance of the ConnectionEvaluationHistory.Key class that has the specified ID value.
Public method ConnectionEvaluationHistory.Key(ConnectionEvaluationHistory.Key) Initializes a new instance of the ConnectionEvaluationHistory.Key class based on the specified key.

Top

Properties

  Name Description
Public property ID Gets or sets the ID value of the ConnectionEvaluationHistory key.
Public property InstanceType Gets the type of the instance class associated with this key class. (Inherited from SfcKey.)

Top

Methods

  Name Description
Public method Equals(Object) Determines whether the specified object is equal to the connection evaluation history represented by the ConnectionEvaluationHistory.Key object. (Overrides SfcKey.Equals(Object).)
Public method Equals(SfcKey) Determines whether the specified object is equal to the connection evaluation history represented by the ConnectionEvaluationHistory.Key object. (Overrides SfcKey.Equals(SfcKey).)
Public methodStatic member Equals(Object, Object) Determines whether the two specified objects are the same.
Public method GetHashCode Gets the hash code for the object. (Overrides SfcKey.GetHashCode().)
Public method GetType (Inherited from Object.)
Public method GetUrnFragment Gets the unique resource name (URN) path partial string that represents the connection evaluation history. (Overrides SfcKey.GetUrnFragment().)
Public method ToString Do not reference this member directly in your code. It supports the SQL Server infrastructure. Returns a String value that is a sortable representation of the object that can be used in external comparers. (Inherited from SfcKey.)

Top

Operators

  Name Description
Public operatorStatic member Equality(Object, ConnectionEvaluationHistory.Key) Determines whether the object identified by a Object is the same as the object identified by a ConnectionEvaluationHistory.Key.
Public operatorStatic member Equality(ConnectionEvaluationHistory.Key, ConnectionEvaluationHistory.Key) Determines whether the objects identified by two ConnectionEvaluationHistory.Key objects are the same.
Public operatorStatic member Equality(ConnectionEvaluationHistory.Key, Object) Determines whether the object identified by a Object is the same as the object identified by a ConnectionEvaluationHistory.Key.
Public operatorStatic member Inequality(Object, ConnectionEvaluationHistory.Key) Determines whether the object identified by a Object is the same as the object identified by a ConnectionEvaluationHistory.Key.
Public operatorStatic member Inequality(ConnectionEvaluationHistory.Key, ConnectionEvaluationHistory.Key) Determines whether the objects identified by two ConnectionEvaluationHistory.Key objects are different.
Public operatorStatic member Inequality(ConnectionEvaluationHistory.Key, Object) Determines whether the object identified by a Object is the same as the object identified by a ConnectionEvaluationHistory.Key.

Top

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.SqlServer.Management.Dmf Namespace