Skip to content

Instantly share code, notes, and snippets.

//
// Pleast note that this code should be used as example code only, it is not properly tested.
//
public class DeploymentActionImportTaxonomy : DeploymentAction<bool>
{
public enum ImportTaxonomyMode
{
DeleteAndRecreate,
OnlyAddNew
}
public class DeploymentActionCreateSiteCollection : DeploymentAction<bool>
{
public DeploymentActionCreateSiteCollection(ClientContext adminTenantContext, IDeploymentActionCreateSiteCollectionArgs args, string webTemplate)
: base(adminTenantContext, "Checking for existing site collection", args.Verbose)
{
this.CommandLineArguments = args;
this.WebTemplate = webTemplate;
}
protected IDeploymentActionCreateSiteCollectionArgs CommandLineArguments { get; set; }