Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SourceGear Vault Client API - Anyone used already?
Message
From
20/11/2006 15:29:19
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Source Safe Control
Title:
SourceGear Vault Client API - Anyone used already?
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01171272
Message ID:
01171272
Views:
105
After researching this some more, it will take alittle more on my part first to get it working. It appears that I have to first call:

Retrieves a list of repositories from the server.

[Visual Basic]Public Sub ListRepositories( _ ByRef reps As VaultRepositoryInfo() _)
[C#]
public void ListRepositories(
ref VaultRepositoryInfo[] reps
);
Parameters
reps
The new VaultRepositoryInfo[] will be created and stored at the variable referenced by this parameter.

from:

Encapsulates one Vault server connection and all the source-control-related high-level operations a Vault client would need to perform. No Windows interfaces for gathering data are provided; all methods require full qualification. Look at the VaultClientPresentationLib for a higher-level interface that provides Windows UI where needed.

For a list of all members of this type, see ClientInstance Members.

System.Object
ClientInstance

[Visual Basic]
Public Class ClientInstance
[C#]
public class ClientInstance
Requirements
Namespace: VaultClientOperationsLib

Assembly: VaultClientOperationsLib (in VaultClientOperationsLib.dll)

--------------------------------------------------------------------------------------------

Has anyone already called Vault's ClientInstance.TreeCache from within VFP? The Tree Cache is a tree type structure full of files/folders. The files/folder objects will have object IDs, versions and ObjVerIDs which should help me locate the correct file to open for diff purposes.

TreeCache manages the local cache of the repository structure we fetched from the server.

For a list of all members of this type, see TreeCache Members.

System.Object
TreeCache

[Visual Basic]
Public Class TreeCache
Implements IDisposable
[C#]
public class TreeCache : IDisposable
Requirements

Namespace: VaultClientOperationsLib

Assembly: VaultClientOperationsLib (in VaultClientOperationsLib.dll)

It has properties such as CheckOuts, Load, Respository:

For example, the repository is called:
[Visual Basic]
Public ReadOnly Property Repository As VaultClientRepository
[C#]
public VaultClientRepository Repository {get;}
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Reply
Map
View

Click here to load this message in the networking platform