Interface ITeam
Public interface to define a Team object of Microsoft Teams
Inherited Members
Namespace: PnP.Core.Model.Teams
Assembly: PnP.Core.dll
Syntax
public interface ITeam : IDataModel<ITeam>, IDataModelParent, IDataModelWithContext, ISupportModules<ITeam>, IDataModelGet<ITeam>, IDataModelLoad<ITeam>, IDataModelUpdate
Properties
Channels
Collection of channels in this current Team
Implements IQueryable<T>.
See Requesting model collections
and IQueryable performance considerations to learn more.
Declaration
ITeamChannelCollection Channels { get; }
Property Value
| ITeamChannelCollection |
ClassSettings
Defines the Class Settings for the Team
Declaration
ITeamClassSettings ClassSettings { get; }
Property Value
| ITeamClassSettings |
Classification
The classification of the Team
Declaration
string Classification { get; set; }
Property Value
| string |
Description
DiscoverySettings
Defines the Members Settings for the Team
Declaration
ITeamDiscoverySettings DiscoverySettings { get; }
Property Value
| ITeamDiscoverySettings |
DisplayName
Events
Collection of tags associated with the current Team
Implements IQueryable<T>.
See Requesting model collections
and IQueryable performance considerations to learn more.
Declaration
IGraphEventCollection Events { get; }
Property Value
| IGraphEventCollection |
FunSettings
Defines the Members Settings for the Team
Declaration
ITeamFunSettings FunSettings { get; }
Property Value
| ITeamFunSettings |
GuestSettings
Defines the Guest Settings for the Team
Declaration
ITeamGuestSettings GuestSettings { get; }
Property Value
| ITeamGuestSettings |
Id
InstalledApps
Collection of installed apps in this current Team
Implements IQueryable<T>.
See Requesting model collections
and IQueryable performance considerations to learn more.
Declaration
ITeamAppCollection InstalledApps { get; }
Property Value
| ITeamAppCollection |
InternalId
IsArchived
Defines whether the Team is archived or not
Declaration
bool IsArchived { get; }
Property Value
| bool |
MemberSettings
Defines the Members Settings for the Team
Declaration
ITeamMembersSettings MemberSettings { get; }
Property Value
| ITeamMembersSettings |
Members
Collection of Members of the current Team
Implements IQueryable<T>.
See Requesting model collections
and IQueryable performance considerations to learn more.
Declaration
IGraphUserCollection Members { get; }
Property Value
| IGraphUserCollection |
MessagingSettings
Defines the Members Settings for the Team
Declaration
ITeamMessagingSettings MessagingSettings { get; }
Property Value
| ITeamMessagingSettings |
Owners
Collection of Owners of the current Team
Implements IQueryable<T>.
See Requesting model collections
and IQueryable performance considerations to learn more.
Declaration
IGraphUserCollection Owners { get; }
Property Value
| IGraphUserCollection |
PrimaryChannel
Reference to the Primary Channel for the Team
Declaration
ITeamChannel PrimaryChannel { get; }
Property Value
| ITeamChannel |
Specialization
The specialization of the Team
Declaration
TeamSpecialization Specialization { get; set; }
Property Value
| TeamSpecialization |
Tags
Collection of tags associated with the current Team
Implements IQueryable<T>.
See Requesting model collections
and IQueryable performance considerations to learn more.
Declaration
ITeamTagCollection Tags { get; }
Property Value
| ITeamTagCollection |
Visibility
The specialization of the Team
Declaration
TeamVisibility Visibility { get; set; }
Property Value
| TeamVisibility |
WebUrl
Methods
Archive()
Archive(bool)
Archives the team
Declaration
ITeamAsyncOperation Archive(bool setSPOSiteReadOnlyForMembers)
Parameters
|
bool
setSPOSiteReadOnlyForMembers
This optional parameter defines whether to set permissions for team members to read-only on the Sharepoint Online site associated with the team |
Returns
| ITeamAsyncOperation |
ArchiveAsync()
Archives the team
Declaration
Task<ITeamAsyncOperation> ArchiveAsync()
Returns
| Task<ITeamAsyncOperation> |
ArchiveAsync(bool)
Archives the team
Declaration
Task<ITeamAsyncOperation> ArchiveAsync(bool setSPOSiteReadOnlyForMembers)
Parameters
|
bool
setSPOSiteReadOnlyForMembers
This optional parameter defines whether to set permissions for team members to read-only on the Sharepoint Online site associated with the team |
Returns
| Task<ITeamAsyncOperation> |
Unarchive()
UnarchiveAsync()
Unarchives the team
Declaration
Task<ITeamAsyncOperation> UnarchiveAsync()
Returns
| Task<ITeamAsyncOperation> |