Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the environment of the specified object.
Namespace: Microsoft.TeamFoundation.Build.Workflow
Assembly: Microsoft.TeamFoundation.Build.Workflow (in Microsoft.TeamFoundation.Build.Workflow.dll)
Syntax
'Declaration
Public Shared Function GetEnvironment ( _
instance As Object _
) As HostEnvironmentOption
public static HostEnvironmentOption GetEnvironment(
Object instance
)
public:
static HostEnvironmentOption GetEnvironment(
Object^ instance
)
static member GetEnvironment :
instance:Object -> HostEnvironmentOption
public static function GetEnvironment(
instance : Object
) : HostEnvironmentOption
Parameters
instance
Type: System.ObjectAn object to get the environment of.
Return Value
Type: Microsoft.TeamFoundation.Build.Client.HostEnvironmentOption
A HostEnvironmentOption value that specifies the host environment of the specified object.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.