PolicyCategorySubscription.Key 类
The PolicyCategorySubscription.Key class represents the key that identifies the PolicyCategorySubscription class.
继承层次结构
System.Object
Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey
Microsoft.SqlServer.Management.Dmf.PolicyCategorySubscription.Key
命名空间: Microsoft.SqlServer.Management.Dmf
程序集: Microsoft.SqlServer.Dmf(在 Microsoft.SqlServer.Dmf.dll 中)
语法
声明
<StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey := "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")> _
Public NotInheritable Class Key _
Inherits SfcKey
用法
Dim instance As PolicyCategorySubscription.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
PolicyCategorySubscription.Key 类型公开以下成员。
构造函数
名称 | 说明 | |
---|---|---|
PolicyCategorySubscription.Key() | Initializes a new instance of the PolicyCategorySubscription.Key class. | |
PolicyCategorySubscription.Key(Int32) | Initializes a new instance of the PolicyCategorySubscription.Key class that has the specified name. | |
PolicyCategorySubscription.Key(PolicyCategorySubscription.Key) | Initializes a new instance of the PolicyCategorySubscription.Key class based on the specified key. |
页首
属性
名称 | 说明 | |
---|---|---|
ID | Gets the name of the PolicyCategorySubscription key. | |
InstanceType | Gets the type of the instance class associated with this key class. (从 SfcKey 继承。) |
页首
方法
名称 | 说明 | |
---|---|---|
Equals(Object) | Determines whether the specified object key is equal to the referenced object key. (覆盖 SfcKey.Equals(Object)。) | |
Equals(SfcKey) | Determines whether the two specified objects are equal. (覆盖 SfcKey.Equals(SfcKey)。) | |
Equals(Object, Object) | Determines whether the specified object key is equal to the referenced object key. | |
GetHashCode | Gets the hash code for the object. (覆盖 SfcKey.GetHashCode()。) | |
GetType | (从 Object 继承。) | |
GetUrnFragment | Gets the unique resource name (URN) path partial string that represents the policy category subscription. (覆盖 SfcKey.GetUrnFragment()。) | |
ToString | 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 Returns a String value that is a sortable representation of the object that can be used in external comparers. (从 SfcKey 继承。) |
页首
运算符
名称 | 说明 | |
---|---|---|
Equality(Object, PolicyCategorySubscription.Key) | Performs a Boolean equality operation to determine whether two policy category subscription objects reference the same policy category subscription. | |
Equality(PolicyCategorySubscription.Key, PolicyCategorySubscription.Key) | Performs a Boolean equality operation to determine whether two policy category subscription objects reference the same policy category subscription. | |
Equality(PolicyCategorySubscription.Key, Object) | Performs a Boolean equality operation to determine whether two policy category subscription objects reference the same policy category subscription. | |
Inequality(Object, PolicyCategorySubscription.Key) | Performs a Boolean equality operation to determine whether two policy category subscription keys reference the same policy category subscription. | |
Inequality(PolicyCategorySubscription.Key, PolicyCategorySubscription.Key) | Performs a Boolean equality operation to determine whether two policy category subscription objects reference the same policy category subscription. | |
Inequality(PolicyCategorySubscription.Key, Object) | Performs a Boolean equality operation to determine whether two policy category subscription keys reference the same policy category subscription. |
页首
注释
仅 Microsoft .NET Framework 的 2.0 版本支持此命名空间、类或成员。
Thread Safety
此类型的任何公共静态(Microsoft Visual Basic 中的 Shared)成员在多线程操作中是安全的。但不保证所有实例成员都是线程安全的。
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。