Delen via


TeamProjectCollectionProperties.VirtualDirectory Property

The virtual directory is the relative path from the application to the location of the collection in the application's URL namespace.

Example: Application = https://www.microsoft.com/TeamFoundation VirtualDirectry = ~/ProjectCollection/TeamSystem. The fully qualified URL of this project collection is: https://www.microsoft.com/TeamFoundation/ProjectCollection/TeamSystem.

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

Syntax

'Declaration
<ClientPropertyAttribute(ClientVisibility.Public, ClientVisibility.Public)> _
Public Property VirtualDirectory As String
[ClientPropertyAttribute(ClientVisibility.Public, ClientVisibility.Public)]
public string VirtualDirectory { get; set; }
[ClientPropertyAttribute(ClientVisibility::Public, ClientVisibility::Public)]
public:
property String^ VirtualDirectory {
    String^ get ();
    void set (String^ value);
}
[<ClientPropertyAttribute(ClientVisibility.Public, ClientVisibility.Public)>]
member VirtualDirectory : string with get, set
function get VirtualDirectory () : String 
function set VirtualDirectory (value : String)

Property Value

Type: System.String
Returns String.

.NET Framework Security

See Also

Reference

TeamProjectCollectionProperties Class

Microsoft.TeamFoundation.Framework.Server Namespace