Class InstalledPackageMigrationPlans
Inheritance
System.Object
Namespace: Umbraco.Cms.Core.Packaging
Assembly: Umbraco.Core.dll
Syntax
[DataContract(Name = "installedPackageMigrations")]
public class InstalledPackageMigrationPlans
Properties
View SourceCurrentMigrationId
If the package has migrations, this will be it's current migration Id
Declaration
[DataMember(Name = "currentMigrationId")]
public string CurrentMigrationId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
FinalMigrationId
If the package has migrations, this will be it's final migration Id
Declaration
[DataMember(Name = "finalMigrationId")]
public string FinalMigrationId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
This can be used to determine if the package advertises any migrations
HasPendingMigrations
Declaration
[DataMember(Name = "hasPendingMigrations")]
public bool HasPendingMigrations { get; }
Property Value
Type | Description |
---|---|
System.Boolean |