SchemaNamedKey<T> 类

Represents the composite string schema and name key for an instance class.

继承层次结构

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

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

语法

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

类型参数

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

构造函数

  名称 说明
公共方法 SchemaNamedKey<T>() Initialize a new instance of theSchemaNamedKey<T> class.
公共方法 SchemaNamedKey<T>(IDictionary<String, Object>) Initializes a new instance of the SchemaNamedKey<T> class from a field dictionary.
公共方法 SchemaNamedKey<T>(String) Initializes a new instance of the SchemaNamedKey<T> class from a name string and default schema.
公共方法 SchemaNamedKey<T>(SchemaNamedKey<T>) Initializes a new instance of the SchemaNamedKey<T> class from another schema name key.
公共方法 SchemaNamedKey<T>(String, String) Initializes a new instance of the SchemaNamedKey<T> class from a name string and a schema string.

页首

属性

  名称 说明
公共属性 InstanceType Gets the instance type which this key represents. (覆盖 SfcKey.InstanceType。)
公共属性 Name Gets the name key value.
公共属性 Schema Gets the schema key value.
受保护属性 UrnName Gets the Urn level name corresponding to the instance type which this key represents.

页首

方法

  名称 说明
公共方法 Equals(Object) Compares the schema name key to this key for value equality. (覆盖 SfcKey.Equals(Object)。)
公共方法 Equals(SchemaNamedKey<T>) Compares the schema name key to this key for value equality.
公共方法 Equals(SfcKey) Compares the schema name key to this key for value equality. (覆盖 SfcKey.Equals(SfcKey)。)
公共方法静态成员 Equals(Object, Object) Compares two keys for value equality.
受保护方法 Finalize (从 Object 继承。)
公共方法 GetHashCode Generates a hash code for the key. (覆盖 SfcKey.GetHashCode()。)
公共方法 GetType (从 Object 继承。)
公共方法 GetUrnFragment Returns the Urn level fragment. (覆盖 SfcKey.GetUrnFragment()。)
受保护方法 MemberwiseClone (从 Object 继承。)
公共方法 ToString Returns the string value for the key. (覆盖 SfcKey.ToString()。)

页首

运算符

  名称 说明
公共运算符静态成员 Equality Compares two keys for value equality.
公共运算符静态成员 Inequality Compares two keys for value inequality.

页首

线程安全

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

请参阅

参考

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