TeamFoundationVersionControlService.QueryItemsExtended 方法 (TeamFoundationRequestContext, String, String, array<ItemSpec[], DeletedState, ItemType, Int32)

對於每個項目 ItemSpec,擷取符合指定準則的擴充項目的清單。

如果" path」引數是檔案,則會傳回包含該檔案的一組項目。 如果「Path "為資料夾,則會傳回該資料夾包含所有項目的一組項目。 如果" path」包含萬用字元,則會傳回符合萬用字元的一組在指定的資料夾中的項目。

命名空間:  Microsoft.TeamFoundation.VersionControl.Server
組件:  Microsoft.TeamFoundation.VersionControl.Server (在 Microsoft.TeamFoundation.VersionControl.Server.dll 中)

語法

'宣告
Public Function QueryItemsExtended ( _
    requestContext As TeamFoundationRequestContext, _
    workspaceName As String, _
    workspaceOwner As String, _
    items As ItemSpec(), _
    deletedState As DeletedState, _
    itemType As ItemType, _
    options As Integer _
) As TeamFoundationDataReader
public TeamFoundationDataReader QueryItemsExtended(
    TeamFoundationRequestContext requestContext,
    string workspaceName,
    string workspaceOwner,
    ItemSpec[] items,
    DeletedState deletedState,
    ItemType itemType,
    int options
)

參數

  • workspaceName
    類型:System.String
    工作區名稱,則為,如果地區對應是必要的。可能是 Null。
  • workspaceOwner
    類型:System.String
    工作區的擁有人。可能是 Null。

傳回值

類型:Microsoft.TeamFoundation.Framework.Server.TeamFoundationDataReader
含有結果的 TeamFoundationDataReader 在下列順序:ExtendedItem [] [] - ExtendedItem 陣列,其中包含相符的 ExtendedItem 執行個體的每個與每個指定的 ItemSpec。

.NET Framework 安全性

請參閱

參考

TeamFoundationVersionControlService 類別

QueryItemsExtended 多載

Microsoft.TeamFoundation.VersionControl.Server 命名空間