TeamFoundationServiceHost.DataDirectory Property

This the fully qualified local filesystem directory that this host can used to store files. Other hosts will not read/write to this location. An example of this is the VersionControl Proxy cache location.

Gets the data directory configured based on the following logic: 1. Checks to see whether there is one specified in the .config file. 2. Checks to see whether there is one specified in the registry. 3. Use the PhysicalDirectory\_tfs_data if it is available. 4. String.Empty is used as the root. The directory is then made unique for this host.

The directory is then made unique for this host.

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public ReadOnly Property DataDirectory As String
public string DataDirectory { get; }
public:
property String^ DataDirectory {
    String^ get ();
}
member DataDirectory : string with get
function get DataDirectory () : String

Property Value

Type: System.String
Returns String.

.NET Framework Security

See Also

Reference

TeamFoundationServiceHost Class

Microsoft.TeamFoundation.Framework.Server Namespace