This documentation is archived and is not being maintained.

TerminalServerAware Property

Visual Studio .NET 2003

Enables terminal server awareness. Exposes the functionality of the /TSAWARE linker option.

[Visual Basic .NET]
Public Property TerminalServerAware() As termSvrAwarenessType
[Visual Basic 6]
Property Get TerminalServerAware() As termSvrAwarenessType
Property Let TerminalServerAware( _
   ByVal NewValue As termSvrAwarenessType _
HRESULT __stdcall get_TerminalServerAware(
   /* [out, retval] */ termSvrAwarenessType* retVal
HRESULT __stdcall put_TerminalServerAware(
   /* [in] */ termSvrAwarenessType NewValue
public termSvrAwarenessType TerminalServerAware {get; set;}
[JScript .NET]
public function get TerminalServerAware() : termSvrAwarenessType
public function set TerminalServerAware(
   NewValue : termSvrAwarenessType


Use the termSvrAwarenessType enumeration to change the value of this property.


The following sample code modifies the TerminalServerAware property in the development environment:

' add reference to Microsoft.VisualStudio.VCProjectEngine
Imports EnvDTE
Imports Microsoft.VisualStudio.VCProjectEngine

Public Module Module1
  Sub Test()
    Dim prj As VCProject
    Dim cfgs, tools As IVCCollection
    Dim cfg As VCConfiguration
    Dim tool As VCLinkerTool
    prj = DTE.Solution.Projects.Item(1).Object
    cfgs = prj.Configurations
    cfg = cfgs.Item(1)
    tool = cfg.Tools("VCLinkerTool")
    tool.TerminalServerAware = termSvrAwarenessType.termSvrAwareYes
  End Sub
End Module

See Samples for Project Model Extensibility for information on how to compile and run this sample.

See Also

Applies To: VCLinkerTool Object