Workspace.QueryShelvedChanges Method (String, String, array<ItemSpec , Boolean)
Gets the shelved changes for the specified query.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'宣告
Public Function QueryShelvedChanges ( _
shelvesetName As String, _
shelvesetOwner As String, _
itemSpecs As ItemSpec(), _
includeDownloadInfo As Boolean _
) As PendingSet()
public PendingSet[] QueryShelvedChanges(
string shelvesetName,
string shelvesetOwner,
ItemSpec[] itemSpecs,
bool includeDownloadInfo
)
public:
array<PendingSet^>^ QueryShelvedChanges(
String^ shelvesetName,
String^ shelvesetOwner,
array<ItemSpec^>^ itemSpecs,
bool includeDownloadInfo
)
member QueryShelvedChanges :
shelvesetName:string *
shelvesetOwner:string *
itemSpecs:ItemSpec[] *
includeDownloadInfo:bool -> PendingSet[]
public function QueryShelvedChanges(
shelvesetName : String,
shelvesetOwner : String,
itemSpecs : ItemSpec[],
includeDownloadInfo : boolean
) : PendingSet[]
Parameters
- shelvesetName
Type: System.String
The shelveset name. May be null.
- shelvesetOwner
Type: System.String
The user name. May be null.
- itemSpecs
Type: array<Microsoft.TeamFoundation.VersionControl.Client.ItemSpec[]
The items to get shelved changes for.
- includeDownloadInfo
Type: System.Boolean
True to include the information needed to download files. False to not include.
Return Value
Type: array<Microsoft.TeamFoundation.VersionControl.Client.PendingSet[]
An array of pending sets with the pending changes for the shelved changes.
Remarks
Only set includeDownloadInfo to true if you are going to be downloading the files using the objects that are returned. The call will be faster and require less bandwidth when this parameter is false (default for overloads that don't specify it)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.