Share via


HpcLinqContext.FromDsc Method

Opens a DSC file set as an IQueryable object that you can use as the data source in a LINQ to HPC query.

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

Usage

'Usage
Dim instance As HpcLinqContext
Dim fileSetName As String
Dim returnValue As IQueryable(Of T)

returnValue = instance.FromDsc(fileSetName)

Syntax

'Declaration
Public Function FromDsc(Of T) ( _
    fileSetName As String _
) As IQueryable(Of T)
public IQueryable<T> FromDsc<T> (
    string fileSetName
)
public:
generic<typename T>
IQueryable<T>^ FromDsc (
    String^ fileSetName
)
J# supports the use of generic APIs, but not the declaration of new ones.
JScript does not support generic types or methods.

GenericParameters

  • T
    The type of the records in the file set that you want to open. For example, the LineRecord structure, if your file set consists of lines of text.

Parameters

  • fileSetName
    A String that specifies the name of the DSC file set that you want to open.

Return Value

An IQueryable object that represents the data in the file set and that is associated with the LINQ to HPC query provider.

Remarks

This method provides you with the data from a DSC file set in the form of a queryable type that you can use as the data source in an LINQ to HPC query.

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

Thread Safety

Separate instances of this class running in separate threads are not guaranteed to work for the beta release of Windows HPC Server 2008 R2 with Service Pack 2 (SP2).

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
IQueryable
ToDsc

Build Date:

2013-04-22