Skip to content

Instantly share code, notes, and snippets.

View importtaxonomyCSOM.cs
//
// 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
}
View RecreationSiteCollectionCSOM.cs
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; }
You can’t perform that action at this time.