BuildEnvironment.GetEnvironment Method
Gets the environment of the specified object.
Namespace: Microsoft.TeamFoundation.Build.Workflow
Assembly: Microsoft.TeamFoundation.Build.Workflow (in Microsoft.TeamFoundation.Build.Workflow.dll)
Syntax
声明
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.Object
An 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.