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