IProfileService.GetAcceptedTermsOfService 方法
取得服務合約與使用者相關的資訊。
命名空間: Microsoft.VisualStudio.Services.Profile
組件: Microsoft.TeamFoundation.Framework.Server (在 Microsoft.TeamFoundation.Framework.Server.dll 中)
語法
'宣告
Function GetAcceptedTermsOfService ( _
requestContext As TeamFoundationRequestContext, _
id As Guid _
) As UserTermsOfService
UserTermsOfService GetAcceptedTermsOfService(
TeamFoundationRequestContext requestContext,
Guid id
)
參數
- requestContext
類型:Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- id
類型:System.Guid
傳回值
類型:Microsoft.VisualStudio.Services.Profile.UserTermsOfService
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。