// This example shows how to inspect and display different types of properties for a workspace. public void DisplayWorkspaceProperties(IWorkspace workspace) { // Cast the workspace to the IWorkspaceProperties interface. IWorkspaceProperties workspace…
IWorkspace接口提供访问工作空间的通用属性和方法,如它的连接属性,以及包含的数据集的方法. IWorkspace的成员字段: Members Description ConnectionProperties The connection properties of the workspace. DatasetNames The DatasetNames in the workspace. Datasets The datasets in the workspace. ExecuteS…