GET https://graph.microsoft.com/beta/termStore/sets/{setId}/relations
// 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.TermStore.Sets["{set-id}"].Relations.GetAsync();
// Code snippets are only available for the latest version. Current version is 6.x
GraphServiceClient graphClient = new GraphServiceClient(requestAdapter);
com.microsoft.graph.models.termstore.RelationCollectionResponse result = graphClient.termStore().sets().bySetId("{set-id}").relations().get();