DbDataSourceEnumerator 类

定义

提供了一种枚举本地网络内的所有可用数据库服务器实例的机制。Provides a mechanism for enumerating all available instances of database servers within the local network.

public ref class DbDataSourceEnumerator abstract
public abstract class DbDataSourceEnumerator
type DbDataSourceEnumerator = class
Public MustInherit Class DbDataSourceEnumerator
继承
DbDataSourceEnumerator
派生

注解

此类为其他强类型数据源枚举器提供基础。This class provides the basis for other strongly typed data source enumerators.

构造函数

DbDataSourceEnumerator()

创建 DbDataSourceEnumerator 类的新实例。Creates a new instance of the DbDataSourceEnumerator class.

方法

Equals(Object)

确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetDataSources()

检索一个 DataTable,它包含由该类的强类型实例所表示的服务器的所有可见实例的相关信息。Retrieves a DataTable containing information about all visible instances of the server represented by the strongly typed instance of this class.

GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(继承自 Object)

适用于

另请参阅