Repository4.QueryWorkspaceItems 方法
傳回包含一組的資訊項目在工作區版本。
命名空間: Microsoft.TeamFoundation.VersionControl.Server
組件: Microsoft.TeamFoundation.VersionControl.Server (在 Microsoft.TeamFoundation.VersionControl.Server.dll 中)
語法
'宣告
<WebMethodAttribute> _
Public Function QueryWorkspaceItems ( _
workspaceName As String, _
workspaceOwner As String, _
items As ItemSpec(), _
deletedState As DeletedState, _
itemType As ItemType, _
generateDownloadUrls As Boolean, _
options As Integer _
) As StreamingCollection(Of WorkspaceItemSet)
[WebMethodAttribute]
public StreamingCollection<WorkspaceItemSet> QueryWorkspaceItems(
string workspaceName,
string workspaceOwner,
ItemSpec[] items,
DeletedState deletedState,
ItemType itemType,
bool generateDownloadUrls,
int options
)
參數
- workspaceName
類型:System.String
- workspaceOwner
類型:System.String
- items
類型:array<Microsoft.TeamFoundation.VersionControl.Server.ItemSpec[]
- deletedState
類型:Microsoft.TeamFoundation.VersionControl.Server.DeletedState
- generateDownloadUrls
類型:System.Boolean
- options
類型:System.Int32
傳回值
類型:Microsoft.TeamFoundation.Framework.Server.StreamingCollection<WorkspaceItemSet>
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱 從部分受信任程式碼使用程式庫。