Share via


HpcLinqContext Constructor

Initializes a new instance of the HpcLinqContext class.

Namespace: Microsoft.Hpc.Linq
Assembly: Microsoft.Hpc.Linq (in Microsoft.Hpc.Linq.dll)

Usage

'Usage
Dim configuration As HpcLinqConfiguration

Dim instance As New HpcLinqContext(configuration)

Syntax

'Declaration
Public Sub New ( _
    configuration As HpcLinqConfiguration _
)
public HpcLinqContext (
    HpcLinqConfiguration configuration
)
public:
HpcLinqContext (
    HpcLinqConfiguration^ configuration
)
public HpcLinqContext (
    HpcLinqConfiguration configuration
)
public function HpcLinqContext (
    configuration : HpcLinqConfiguration
)

Parameters

  • configuration
    An HpcLinqConfiguration object that contains the configuration information that you want to use for the query context.

Remarks

When you initialize an new instance of HpcLinqContext, connections are opened to an HPC cluster that has the head node that the HeadNode property specifies, and to the DSC service on that head node. These connections are opened regardless of whether you use DSC or whether the value of the LocalDebug property is True.

A HpcLinqContext may keep its connections to the DSC server and HPC cluster open. To release these connections, call the Dispose method.

Platform Note: This constructor was introduced in Windows HPC Server 2008 R2 with Service Pack 2 (SP2) and is not supported in previous versions.

Platforms

Development Platforms

Windows XP, Windows Vista, Windows 7, Windows 8, Windows Server 2003, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012

Target Platforms

Windows XP, Windows Vista, Windows 7, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, with HPC Pack Client Utilities

See Also

Reference

HpcLinqContext Class
HpcLinqContext Members
Microsoft.Hpc.Linq Namespace
HpcLinqConfiguration
HeadNode
LocalDebug
Dispose

Build Date:

2013-04-22