SqlUserInteractionServices 类

提供 SQL Server 特定的信息,该信息会显示在用户界面中,如图标、元素名称、扩展等。

继承层次结构

System.Object
  Microsoft.Data.Schema.UserInteractionServices
    Microsoft.Data.Schema.Sql.SqlUserInteractionServices
      Microsoft.Data.Schema.Sql.Sql100UserInteractionServices
      Microsoft.Data.Schema.Sql.Sql80UserInteractionServices
      Microsoft.Data.Schema.Sql.Sql90UserInteractionServices

命名空间:  Microsoft.Data.Schema.Sql
程序集:  Microsoft.Data.Schema.Sql(在 Microsoft.Data.Schema.Sql.dll 中)

语法

声明
Public MustInherit Class SqlUserInteractionServices _
    Inherits UserInteractionServices
public abstract class SqlUserInteractionServices : UserInteractionServices
public ref class SqlUserInteractionServices abstract : public UserInteractionServices
[<AbstractClass>]
type SqlUserInteractionServices =  
    class
        inherit UserInteractionServices
    end
public abstract class SqlUserInteractionServices extends UserInteractionServices

SqlUserInteractionServices 类型公开以下成员。

构造函数

  名称 说明
受保护的方法 SqlUserInteractionServices 初始化 SqlUserInteractionServices 类的新实例。

页首

属性

  名称 说明
公共属性 BatchSeparator 获取用于标记批处理结尾的关键字。 (重写 UserInteractionServices.BatchSeparator。)
受保护的属性 DatabaseSchemaProvider 获取对当前 DatabaseSchemaProvider 的引用。 (继承自 UserInteractionServices。)
公共属性 DatabaseSchemaProviderDisplayName 获取 DSP 的全名。 (继承自 UserInteractionServices。)
公共属性 DisplayableElementClasses 获取元素类的列表,该列表应由用户界面组件显示。 (重写 UserInteractionServices.DisplayableElementClasses。)
公共属性 ProjectIcon 获取特定 DSP 项目的图标。 (继承自 UserInteractionServices。)
受保护的属性 ScriptGenerator 获取 Transact-SQL 脚本生成器。
公共属性 TransparentColor 获取用于使位图某些部分变为透明的颜色。 (继承自 UserInteractionServices。)

页首

方法

  名称 说明
公共方法 Equals 确定指定的 Object 是否等于当前的 Object。 (继承自 Object。)
受保护的方法 Finalize 允许对象在“垃圾回收”回收之前尝试释放资源并执行其他清理操作。 (继承自 Object。)
公共方法 GetDisplayName(ModelIdentifier, Boolean, Boolean) 返回标识符的显示名称,同时指定是否对名称使用转义字符、提供全名还是缩写形式。 (继承自 UserInteractionServices。)
公共方法 GetDisplayName(ModelIdentifier, Boolean, Boolean, Int32) 返回标识符的显示名称。 (继承自 UserInteractionServices。)
公共方法 GetElementName(IModelElement, ElementNameStyle) 返回指定元素的元素名称。 (继承自 UserInteractionServices。)
受保护的方法 GetElementName(IModelElement, Boolean, Boolean, Boolean) 返回指定模型元素的元素名称。 (重写 UserInteractionServices.GetElementName(IModelElement, Boolean, Boolean, Boolean)。)
受保护的方法 GetElementName(IModelElement, Boolean, Boolean, Boolean, Int32) 返回指定元素的元素名称。 (继承自 UserInteractionServices。)
公共方法 GetElementTypeDescription 返回元素类型描述。 (重写 UserInteractionServices.GetElementTypeDescription(ModelElementClass)。)
受保护的方法 GetErrorMessageName 返回指定错误消息的名称。
公共方法 GetEscapedNameString 返回转义名称字符串。 (重写 UserInteractionServices.GetEscapedNameString(String)。)
公共方法 GetFileExtension 返回指定 ModelElementClass 的文件扩展名。 (重写 UserInteractionServices.GetFileExtension(ModelElementClass)。)
公共方法 GetFolderIcon 返回根据所提供的样式指示选择的位图图标。 (继承自 UserInteractionServices。)
公共方法 GetFolderName 返回指定 ModelElementClass 的文件夹名。 (重写 UserInteractionServices.GetFolderName(ModelElementClass)。)
公共方法 GetHashCode 用作特定类型的哈希函数。 (继承自 Object。)
公共方法 GetIcon(IModelElement) 返回 UI 中要用于匹配所提供元素的图标的位图。 (继承自 UserInteractionServices。)
公共方法 GetIcon(ModelElementClass) 返回 UI 中要用于匹配所提供元素的图标的位图。 (继承自 UserInteractionServices。)
公共方法 GetIcon(IModelElement, ElementIconState) 返回 UI 中要用于匹配所提供元素的图标的位图以及图标状态。 (继承自 UserInteractionServices。)
公共方法 GetIcon(ModelElementClass, ElementIconState) 返回指定 ModelElementClass 和状态的图标。 (重写 UserInteractionServices.GetIcon(ModelElementClass, ElementIconState)。)
受保护的方法 GetInlineConstraintElementName 返回指定内联约束的名称。
受保护的方法 GetNameString 返回名称,并将字符串转义(如有相应要求)。 (继承自 UserInteractionServices。)
受保护的方法 GetParameterName 获取指定参数的名称。
受保护的方法 GetProcedureName 获取指定存储过程的名称。
公共方法 GetRelatedElementTypeDescription 返回处于所提供关系中的相关对象的描述。 (继承自 UserInteractionServices。)
公共方法 GetSqlCollations 返回 SQL Server 排序规则。
公共方法 GetType 获取当前实例的 Type。 (继承自 Object。)
受保护的方法 GetTypeSpecifierName 获取指定类型说明符的名称。
受保护的方法 Initialize 初始化方法,以设置 UIInfo 和接口类型映射。
受保护的方法 InitializeInterfaceUIInfoMap 将接口添加到 UIInfo 映射。
受保护的方法 MakeIconTransparent 使用 TransparentColor 属性的值使所提供的图标变为透明。 (继承自 UserInteractionServices。)
受保护的方法 MemberwiseClone 创建当前 Object 的浅表副本。 (继承自 Object。)
公共方法 ToString 返回表示当前对象的字符串。 (继承自 Object。)
公共方法 TryConstructConnectionStringAndProvider 用于获取 SQL Server 特定的连接字符串和 SQL Server 提供程序 (重写 UserInteractionServices.TryConstructConnectionStringAndProvider(String, String, Guid%, String%)。)

页首

线程安全

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

请参见

参考

Microsoft.Data.Schema.Sql 命名空间