GetTask Class

Summary

Retrieves an item or project from MKS Source Integrity.
Assembly
NAnt.Contrib.dll
Namespace
NAnt.Contrib.Tasks.Mks
Base Types
graph BT Type-->Base0["BaseTask"] click Base0 "/api/NAnt.Contrib.Tasks.Mks/BaseTask" Base0-->Base1["Task"] Type["GetTask"] class Type type-node

Syntax

[TaskName("mksget")]
public sealed class GetTask : BaseTask

Examples

Synchronise sandbox with MKS project.

<mksget
          username="myusername"
          password="mypassword"
          host="servername"
          port="123"
          localpath="c:\sourcecode"
          project="e:/MKS projects/myproject/testproject.pj"
        />

Attributes

Type Description
TaskName

Properties

Name Value Summary
Host string
The name of the host MKS server to connect to
Inherited from BaseTask
LocalPath DirectoryInfo
The path to the local working directory.
Password string
The password to use to login to the MKS database.
Inherited from BaseTask
Port string
The port number on which the host server is accepting requests
Inherited from BaseTask
ProjectName string
The project to get from MKS.
UserName string
The name of the user needed to access the MKS database.
Inherited from BaseTask

Methods

Name Value Summary
ExecuteTask() void
MKSExecute(string) string
Inherited from BaseTask
Open() void
Opens the MKS database and sets the reference to the specified item and version.
Inherited from BaseTask