共用方式為


IProfileService.Get 方法

擷取設定檔與特定識別 id.

命名空間:  Microsoft.VisualStudio.Services.Profile
組件:  Microsoft.TeamFoundation.Framework.Server (在 Microsoft.TeamFoundation.Framework.Server.dll 中)

語法

'宣告
Function Get ( _
    requestContext As TeamFoundationRequestContext, _
    id As Guid, _
    queryContext As ProfileQueryContext _
) As Profile
Profile Get(
    TeamFoundationRequestContext requestContext,
    Guid id,
    ProfileQueryContext queryContext
)

參數

  • id
    類型:System.Guid
    設定檔關聯識別的 Guid。其中存在識別和設定檔之間的一對一對應。

傳回值

類型:Microsoft.VisualStudio.Services.Profile.Profile

.NET Framework 安全性

請參閱

參考

IProfileService 介面

Microsoft.VisualStudio.Services.Profile 命名空間