Class MspDbSettings

Class MspDbSettings

Namespace: Aspose.Tasks.Connectivity
Assembly: Aspose.Tasks.dll (25.2.0)

允许设置必要的选项以从 MS Project Server 数据库读取项目数据。

public class MspDbSettings : DbSettings

继承

objectDbSettingsMspDbSettings

继承成员

DbSettings.ConnectionString, DbSettings.ProviderInvariantName, object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

构造函数

MspDbSettings(string, Guid)

初始化 Aspose.Tasks.Connectivity.MspDbSettings 类的新实例。

public MspDbSettings(string connectionString, Guid projectGuid)

参数

connectionString string

指定的连接字符串。

projectGuid Guid

要读取的项目的指定 guid。

属性

ProjectGuid

获取要读取的项目的 guid。

public Guid ProjectGuid { get; }

属性值

Guid

Schema

获取或设置 MS Project Server 的架构。 默认值为 “pub”。

public string Schema { get; set; }

属性值

string

 中文