NamedDomainKey<T> 类

Represents the ___domain key with a string name for a general SFC ___domain root instance.

继承层次结构

System.Object
  Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey
    Microsoft.SqlServer.Management.Sdk.Sfc.DomainRootKey
      Microsoft.SqlServer.Management.Sdk.Sfc.NamedDomainKey<T>

命名空间:  Microsoft.SqlServer.Management.Sdk.Sfc
程序集:  Microsoft.SqlServer.Management.Sdk.Sfc(在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)

语法

声明
Public Class NamedDomainKey(Of T As ISfcDomain) _
    Inherits DomainRootKey _
    Implements IEquatable(Of NamedDomainKey(Of T))
用法
Dim instance As NamedDomainKey(Of T)
public class NamedDomainKey<T> : DomainRootKey, 
    IEquatable<NamedDomainKey<T>>
where T : ISfcDomain
generic<typename T>
where T : ISfcDomain 
public ref class NamedDomainKey : public DomainRootKey, 
    IEquatable<NamedDomainKey<T>^>
type NamedDomainKey<'T when 'T : ISfcDomain> =  
    class 
        inherit DomainRootKey 
        interface IEquatable<NamedDomainKey<'T>>
    end
JScript 不支持一般类型和方法。

类型参数

  • T
    The ISfcDomain

NamedDomainKey<T> 类型公开以下成员。

构造函数

  名称 说明
公共方法 NamedDomainKey<T>() Initializes a new instance of the NamedDomainKey<T> class with default values.
公共方法 NamedDomainKey<T>(ISfcDomain) Initializes a new instance of the NamedDomainKey<T> class with specified ___domain instance name.
公共方法 NamedDomainKey<T>(ISfcDomain, IDictionary<String, Object>) Initializes a new instance of the NamedDomainKey<T> class with specified ___domain instance name and fields dictionary.
公共方法 NamedDomainKey<T>(ISfcDomain, String) Initializes a new instance of the NamedDomainKey<T> class with specified ___domain instance name and given name.

页首

属性

  名称 说明
公共属性 Domain 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 DomainRootKey 继承。)
公共属性 InstanceType Gets the instance type which the current key represents. (覆盖 SfcKey.InstanceType。)
公共属性 Name Gets the name key value.
受保护属性 UrnName Gets the Urn level name corresponding to the instance type which the specified key represents.

页首

方法

  名称 说明
公共方法 Equals(Object) Compare a schema name key to this key for value equality. (覆盖 SfcKey.Equals(Object)。)
公共方法 Equals(NamedDomainKey<T>) Compare a schema name key to this key for value equality.
公共方法 Equals(SfcKey) Compare a schema name key to this key for value equality. (覆盖 SfcKey.Equals(SfcKey)。)
公共方法静态成员 Equals(Object, Object) Returns whether the two key values are equal.
受保护方法 Finalize (从 Object 继承。)
公共方法 GetHashCode Generate a hash code for the key. (覆盖 SfcKey.GetHashCode()。)
公共方法 GetType (从 Object 继承。)
公共方法 GetUrnFragment Obtains a URN level fragment from the key name property by default. (覆盖 SfcKey.GetUrnFragment()。)
受保护方法 MemberwiseClone (从 Object 继承。)
公共方法 ToString Returns the string value for the key. (覆盖 SfcKey.ToString()。)

页首

运算符

  名称 说明
公共运算符静态成员 Equality Returns whether the two keys are equal.
公共运算符静态成员 Inequality Returns whether the two keys are not equal.

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.SqlServer.Management.Sdk.Sfc 命名空间