Policy.Key Policy.Key Policy.Key Class

Definition

The Policy.Key class represents the key that identifies each instance of the Policy class.

public: ref class Policy::Key sealed : Microsoft::SqlServer::Management::Sdk::Sfc::SfcKey
public sealed class Policy.Key : Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey
Public NotInheritable Class Policy.Key
Inherits SfcKey
Inheritance
Policy.KeyPolicy.KeyPolicy.Key

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.

Constructors

Policy.Key() Policy.Key() Policy.Key()

Initializes a new instance of the Policy.Key class.

Policy.Key(Policy+Key) Policy.Key(Policy+Key) Policy.Key(Policy+Key)

Initializes a new instance of the Policy.Key class based on the specified key.

Policy.Key(String) Policy.Key(String) Policy.Key(String)

Initializes a new instance of the Policy.Key class that has the specified name.

Properties

InstanceType InstanceType InstanceType

Gets the type of the instance class associated with this key class.

(Inherited from SfcKey)
Name Name Name

Gets a String value that specifies the name of the policy identified by the current Policy.Key.

Methods

Equals(Object) Equals(Object) Equals(Object)

Determines if the specified object is the same as the policy identified by the current Policy.Key object.

Equals(Object, Object) Equals(Object, Object) Equals(Object, Object)

Determines whether two objects are equal.

Equals(SfcKey) Equals(SfcKey) Equals(SfcKey)

Determines if the specified object is the same as the policy identified by the current Policy.Key object.

GetHashCode() GetHashCode() GetHashCode()

Gets the hash code for the object.

GetUrnFragment() GetUrnFragment() GetUrnFragment()

Gets the unique resource name (URN) path partial string that represents the policy.

ToString() ToString() 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)

Operators

Equality(Object, Policy+Key) Equality(Object, Policy+Key) 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, Object) Equality(Policy+Key, Object) Equality(Policy+Key, Object)

Determines whether the object identified by a Object is the same as the object identified by a Policy.Key.

Equality(Policy+Key, Policy+Key) Equality(Policy+Key, Policy+Key) Equality(Policy+Key, Policy+Key)

Determines whether the objects identified by two Policy.Key objects are the same.

Inequality(Object, Policy+Key) Inequality(Object, 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, Object) Inequality(Policy+Key, Object) Inequality(Policy+Key, Object)

Determines whether the object identified by a Object is different than the object identified by a Policy.Key.

Inequality(Policy+Key, Policy+Key) Inequality(Policy+Key, Policy+Key) Inequality(Policy+Key, Policy+Key)

Determines whether the objects identified by two Policy.Key objects are the same.

Applies to