region 属性包含组织的 或用户的区域。 属性包含用户的区域 ((如果可用),) 具有有效多geo 许可证的用户。 对于没有多区域许可证的用户, 区域 属性包含组织的区域。
区域值可以是 Teams 有效负载支持的任何区域。 以下是可能的值:Americas、 欧洲和中东、亚太地区、阿联酋、澳大利亚、巴西、加拿大、瑞士、德国、法国、印度、日本、韩国、挪威、新加坡、英国、南非、瑞典、卡塔尔、波兰、意大利、以色列、USGov Community Cloud、USGov Community Cloud High、USGov 国防部、AG08 (USNAT) 、AG08 (USSEC) 和中国。
// Code snippets are only available for the latest version. Current version is 5.x
// To initialize your graphClient, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=csharp
var result = await graphClient.Teamwork.GetAsync();
// Code snippets are only available for the latest major version. Current major version is $v1.*
// Dependencies
import (
"context"
msgraphsdk "github.com/microsoftgraph/msgraph-sdk-go"
//other-imports
)
// To initialize your graphClient, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=go
teamwork, err := graphClient.Teamwork().Get(context.Background(), nil)
// Code snippets are only available for the latest version. Current version is 6.x
GraphServiceClient graphClient = new GraphServiceClient(requestAdapter);
Teamwork result = graphClient.teamwork().get();