2012-01-18 9 views

答えて

0

は最後に、それを考え出した:

SPSite site = new SPSite(url); 
SPServiceContext context = SPServiceContext.GetContext(site); 
var userProfileConfigManager = new UserProfileConfigManager(context); 
ProfilePropertyManager profilePropertyManager = userProfileConfigManager.ProfilePropertyManager; 
CorePropertyManager corePropertyManager = profilePropertyManager.GetCoreProperties(); 
CoreProperty property = corePropertyManager.GetPropertyByName(propertyName); 
TermSet ts = property.TermSet; // DONE! 
関連する問題