VssHistory Class

MSBuild

Generates an XML file containing details of all changes made to a Visual SourceSafe project or file between specified labels or dates.


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

Syntax

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

Example

Generates a file containing details of all the changes made to the $/Test project by a user called joe.bloggs

 Copy Code
<VssHistory UserName="uid"
             Password="pwd"
             DatabasePath="\\VSSServer\VSS\srcsafe.ini"
             Path="$/Test"
             User="joe.bloggs" 
             OutputFile="History.xml"
             Recursive="True"
            />
            

Generates a file containing details of all the changes made between the labels Build1 and Build2 in the $/Test project.

 Copy Code
<VssHistory UserName="uid"
             Password="pwd"
             DatabasePath="\\VSSServer\VSS\srcsafe.ini"
             Path="$/Test"
             FromLabel="Build1"
             ToLabel="Build2"
             OutputFile="History.xml"
             Recursive="True"
            />
            

Generates a file containing details of all the changes made between the 1st December 2005 and 10th December 2005in the $/Test project.

 Copy Code
<VssHistory UserName="uid"
             Password="pwd"
             DatabasePath="\\VSSServer\VSS\srcsafe.ini"
             Path="$/Test"
             FromDate="2005-12-01 00:00"
             ToDate="2005-12-10 00:00"
             OutputFile="History.xml"
             Recursive="True"
            />
            

Inheritance Hierarchy

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

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.