VssGet Class

MSBuild

Task that retireves an item or project from a Visual SourceSafe database.


Namespace: MSBuild.Community.Tasks.SourceSafe
Assembly: MSBuild.Community.Tasks (in MSBuild.Community.Tasks.dll)

Syntax

Visual Basic (Declaration)
Public Class VssGet
    Inherits VssRecursiveBase
C#
public class VssGet : VssRecursiveBase
C++
ref class VssGet : VssRecursiveBase
J#
public class VssGet extends VssRecursiveBase
JScript
public class VssGet extends VssRecursiveBase

Example

Get the latest version (recursive) of a file from a VSS database and place in the specified local folder.

 Copy Code
            <VssGet UserName="user"
                Password="password"
                LocalPath="C:\Dev\MyProjects\Project"
                Recursive="True"
                DatabasePath="\\VSSServer\VSS\srcsafe.ini"
                Path="$/Project"
            

Inheritance Hierarchy

System.Object
   Microsoft.Build.Utilities.Task
      MSBuild.Community.Tasks.SourceSafe.VssBase
         MSBuild.Community.Tasks.SourceSafe.VssRecursiveBase
            MSBuild.Community.Tasks.SourceSafe.VssGet

Thread Safety

Public static (Shared in Visual Basic)staticShared members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

See Also

Syntax based on .NET Framework version 2.0.
Documentation version 1.0.0.0.