PolicyCategory.Key PolicyCategory.Key PolicyCategory.Key Class

Definition

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

public: ref class PolicyCategory::Key sealed : Microsoft::SqlServer::Management::Sdk::Sfc::SfcKey
public sealed class PolicyCategory.Key : Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey
Public NotInheritable Class PolicyCategory.Key
Inherits SfcKey
Inheritance
PolicyCategory.KeyPolicyCategory.KeyPolicyCategory.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

PolicyCategory.Key() PolicyCategory.Key() PolicyCategory.Key()

Initializes a new instance of the PolicyCategory.Key class.

PolicyCategory.Key(PolicyCategory+Key) PolicyCategory.Key(PolicyCategory+Key) PolicyCategory.Key(PolicyCategory+Key)

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

PolicyCategory.Key(String) PolicyCategory.Key(String) PolicyCategory.Key(String)

Initializes a new instance of the PolicyCategory.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 the name of the PolicyCategory key.

Methods

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

Determines whether the specified object key is equal to the referenced object key.

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

Determines whether the specified object key is equal to the referenced object key.

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

Determines whether the two specified objects are equal.

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 category.

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

Performs a Boolean equality operation to determine whether two policy category objects reference the same policy category.

Equality(PolicyCategory+Key, Object) Equality(PolicyCategory+Key, Object) Equality(PolicyCategory+Key, Object)

Performs a Boolean equality operation to determine whether two policy category objects reference the same policy category.

Equality(PolicyCategory+Key, PolicyCategory+Key) Equality(PolicyCategory+Key, PolicyCategory+Key) Equality(PolicyCategory+Key, PolicyCategory+Key)

Performs a Boolean equality operation to determine whether two policy category objects reference the same policy category.

Inequality(Object, PolicyCategory+Key) Inequality(Object, PolicyCategory+Key) Inequality(Object, PolicyCategory+Key)

Performs a Boolean equality operation to determine whether two policy category keys reference the same policy category.

Inequality(PolicyCategory+Key, Object) Inequality(PolicyCategory+Key, Object) Inequality(PolicyCategory+Key, Object)

Performs a Boolean equality operation to determine whether two policy category keys reference the same policy category.

Inequality(PolicyCategory+Key, PolicyCategory+Key) Inequality(PolicyCategory+Key, PolicyCategory+Key) Inequality(PolicyCategory+Key, PolicyCategory+Key)

Performs a Boolean equality operation to determine whether two policy category objects reference the same policy category.

Applies to