Table of Contents

Interface IFeatureCollection

Namespace
PnP.Core.Model.SharePoint
Assembly
PnP.Core.dll

Collection of site or web scoped features

public interface IFeatureCollection : IQueryable<IFeature>, IQueryable, IDataModelCollection<IFeature>, IEnumerable<IFeature>, IEnumerable, IDataModelParent, IDataModelWithContext, IRequestableCollection, ISupportModules<IFeatureCollection>
Inherited Members
Extension Methods

Methods

Disable(Guid)

Disable a feature

void Disable(Guid id)

Parameters

id Guid

Id of the feature to disable

DisableAsync(Guid)

Disable a feature

Task DisableAsync(Guid id)

Parameters

id Guid

Id of the feature to disable

Returns

Task

DisableBatch(Batch, Guid)

Disable a feature in batch

void DisableBatch(Batch batch, Guid id)

Parameters

batch Batch

Batch to add this feature disable request to

id Guid

Id of the feature to disable

DisableBatch(Guid)

Disable a feature in batch

void DisableBatch(Guid id)

Parameters

id Guid

Id of the feature to disable

DisableBatchAsync(Batch, Guid)

Disable a feature in batch

Task DisableBatchAsync(Batch batch, Guid id)

Parameters

batch Batch

Batch to add this feature disable request to

id Guid

Id of the feature to disable

Returns

Task

DisableBatchAsync(Guid)

Disable a feature in batch

Task DisableBatchAsync(Guid id)

Parameters

id Guid

Id of the feature to disable

Returns

Task

Enable(Guid)

Enable a feature

IFeature Enable(Guid id)

Parameters

id Guid

Id of the feature to enable

Returns

IFeature

Enabled feature

EnableAsync(Guid)

Enable a feature

Task<IFeature> EnableAsync(Guid id)

Parameters

id Guid

Id of the feature to enable

Returns

Task<IFeature>

Enabled feature

EnableBatch(Batch, Guid)

Enable a feature in batch

IFeature EnableBatch(Batch batch, Guid id)

Parameters

batch Batch

Batch to add this feature enable request to

id Guid

Id of the feature to enable

Returns

IFeature

Enabled feature

EnableBatch(Guid)

Enable a feature in batch

IFeature EnableBatch(Guid id)

Parameters

id Guid

Id of the feature to enable

Returns

IFeature

Enabled feature

EnableBatchAsync(Batch, Guid)

Enable a feature in batch

Task<IFeature> EnableBatchAsync(Batch batch, Guid id)

Parameters

batch Batch

Batch to add this feature enable request to

id Guid

Id of the feature to enable

Returns

Task<IFeature>

Enabled feature

EnableBatchAsync(Guid)

Enable a feature in batch

Task<IFeature> EnableBatchAsync(Guid id)

Parameters

id Guid

Id of the feature to enable

Returns

Task<IFeature>

Enabled feature