Class MspDbSettings

Class MspDbSettings

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

Cho phép thiết lập các tùy chọn cần thiết để đọc dữ liệu dự án từ cơ sở dữ liệu MS Project Server.

public class MspDbSettings : DbSettings

Kế thừa

objectDbSettingsMspDbSettings

Các thành viên kế thừa

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

Các hàm khởi tạo

MspDbSettings(string, Guid)

Khởi tạo một thể hiện mới của lớp Aspose.Tasks.Connectivity.MspDbSettings.

public MspDbSettings(string connectionString, Guid projectGuid)

Tham số

connectionString string

chuỗi kết nối được chỉ định.

projectGuid Guid

guid được chỉ định của một dự án để đọc.

Thuộc tính

ProjectGuid

Lấy guid của dự án để đọc.

public Guid ProjectGuid { get; }

Giá trị thuộc tính

Guid

Schema

Lấy hoặc thiết lập schema của MS Project Server.
Giá trị mặc định là “pub”.

public string Schema { get; set; }

Giá trị thuộc tính

string

 Tiếng Việt