Interface ITeamManager
Teams management features
Namespace: PnP.Core.Admin.Model.Teams
Assembly: PnP.Core.Admin.dll
Syntax
public interface ITeamManager
Methods
CreateTeam(TeamOptions, TeamCreationOptions)
Creates a Teams team and returns a PnPContext to start using the created Team
Declaration
PnPContext CreateTeam(TeamOptions teamToCreate, TeamCreationOptions creationOptions = null)
Parameters
TeamOptions
teamToCreate
Information about the Team to create |
TeamCreationOptions
creationOptions
Options to control the Team creation flow |
Returns
PnPContext
|
CreateTeamAsync(TeamOptions, TeamCreationOptions)
Creates a Teams team and returns a PnPContext to start using the created Team
Declaration
Task<PnPContext> CreateTeamAsync(TeamOptions teamToCreate, TeamCreationOptions creationOptions = null)
Parameters
TeamOptions
teamToCreate
Information about the Team to create |
TeamCreationOptions
creationOptions
Options to control the Team creation flow |
Returns
Task<PnPContext>
|