Ejemplo n.º 1
0
 protected override void ExecuteCmdlet()
 {
     if (Scope == FeatureScope.Web)
     {
         CurrentWeb.DeactivateFeature(Identity);
     }
     else
     {
         ClientContext.Site.DeactivateFeature(Identity);
     }
 }
Ejemplo n.º 2
0
 protected override void ExecuteCmdlet()
 {
     CurrentWeb.DeactivateFeature(new Guid("E87CA965-5E07-4A23-B007-DDD4B5AFB9C7"));
 }