Microsoft.SqlServer.ASTasks 命名空间提供用于定义和支持 Analysis Services 处理任务 () 和 Analysis Services 执行 DDL 任务 () 的类。 针对 Microsoft SQL Server Analysis Services 的实例执行数据定义语言 (DDL) 命令。 初始化 类的新实例。 此方法不能由应用程序代码调用。若要加载保存为 .xml 的包,请使用 方法。 The node that contains the information to be loaded. An object that implements the interface for raising events (errors, warnings, and so on) during persistence. 此方法不能由应用程序代码调用。若将包保存为 .xml,请使用 方法。 The XML document to which to save the information. An object that implements the interface for raising events (errors, warnings, and so on) during persistence. 返回任务执行的结果。 A user-defined object. 获取或设置要发送到 Analysis Services 服务器的 DDL 语句的文本。 The text of the DDL statement to be sent to the Analysis Services server. 获取或设置 枚举中的一个值,该值指示包含 DDL 语句的源类型。 A value from the enumeration. 返回 Analysis Services 执行 DDL 任务的说明。 The description of the Analysis Services Execute DDL task. 返回执行 DDL 任务的名称。 The name of the task. 此枚举提供指示 DDL 源所在位置的值。 指示 属性中包含的 DDL 源。 指示 FILE 连接中包含的 DDL 源。 指示 属性中包含的 DDL 源。 处理 Microsoft SQL Server Analysis Services 数据库中的对象。 初始化 类的新实例。 从 XML 加载任务信息。此方法不能由应用程序代码调用。若要加载保存为 .xml 的包,请使用 方法。 The node that contains the information to be loaded. An object that implements the interface for raising events (errors, warnings, and so on) during persistence. 将组件信息保存到包 XML。此方法不能由应用程序代码调用。若将包保存为 .xml,请使用 方法。 The XML document to which to save the information. An object that implements the interface for raising events (errors, warnings, and so on) during persistence. 获取或设置要发送到 Analysis Services 服务器的处理命令的文本。 The text of the processing command to be sent to the Analysis Services server. 获取 Analysis Services 处理任务的说明。 The description of the Analysis Services Processing task. 获取 Analysis Services 处理任务的唯一名称。 The unique name for the Analysis Services Processing task.