Utility.Key Class

The Utility.Key class defines methods and properties that are used to identify the Utility within the System File Checker (SFC).

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey
    Microsoft.SqlServer.Management.Sdk.Sfc.DomainRootKey
      Microsoft.SqlServer.Management.Utility.Utility.Key

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

Syntax

'Declaration
Public NotInheritable Class Key _
    Inherits DomainRootKey
'Usage
Dim instance As Utility.Key
public sealed class Key : DomainRootKey
public ref class Key sealed : public DomainRootKey
[<SealedAttribute>]
type Key =  
    class 
        inherit DomainRootKey 
    end
public final class Key extends DomainRootKey

The Utility.Key type exposes the following members.

Constructors

  Name Description
Public method Utility.Key Initializes a new instance of the Utility.Key class.

Top

Properties

  Name Description
Public property Domain Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from DomainRootKey.)
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 the specified object is equal to the Utility.Key. (Overrides SfcKey.Equals(Object).)
Public method Equals(SfcKey) Determines the specified key is equal to the Utility.Key. (Overrides SfcKey.Equals(SfcKey).)
Public methodStatic member Equals(Object, Object) Determines the specified objects are equal.
Public method GetHashCode Returns the hash code for this instance. (Overrides SfcKey.GetHashCode().)
Public method GetType (Inherited from Object.)
Public method GetUrnFragment Identified for informational purposes only. Not supported. Future compatibility is not guaranteed. (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, Utility.Key) Determines whether the specified object and the right-hand side of the key are equal.
Public operatorStatic member Equality(Utility.Key, Utility.Key) Determines whether the specified left and right-hand sides of the key are equal.
Public operatorStatic member Equality(Utility.Key, Object) Determines whether the specified object and the left-hand side of the key are equal.
Public operatorStatic member Inequality(Object, Utility.Key) Determines whether the specified object and the right-hand side of the key are unequal.
Public operatorStatic member Inequality(Utility.Key, Utility.Key) Determines whether the specified right and left-hand sides of the key are unequal.
Public operatorStatic member Inequality(Utility.Key, Object) Determines whether the specified object and the left-hand side of the key are unequal.

Top

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.Utility Namespace