如何使用csom c#在SharePoint 2013中以编程方式创建网站集?

时间:2018-12-13 04:29:45

标签: c# sharepoint sharepoint-2013 csom on-prem

试图在互联网上寻找它,但没有成功,我只能在网上找到Sharepoint的那个。

如何使用csom c#在本地创建网站集?

1 个答案:

答案 0 :(得分:0)

您可以尝试一下;

protected override void OnModelCreating(DbModelBuilder modelBuilder)
{
    base.OnModelCreating(modelBuilder);
modelBuilder.Entity<Client>().HasQueryFilter(x => x.IsDeleted= false);
}

来自; Provisioning site collections using SP App model in on-premises with just CSOM