DscFileSet.AddNewFile Method (UInt64)

Creates an entry for a new file with the specified size estimate in a DSC file set.


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

'Usage
Dim instance As DscFileSet
Dim estimatedFileSizeInBytes As ULong
Dim returnValue As DscFile

returnValue = instance.AddNewFile(estimatedFileSizeInBytes)

public DscFile AddNewFile (
	ulong estimatedFileSizeInBytes
)
public DscFile AddNewFile (
	UInt64 estimatedFileSizeInBytes
)
public function AddNewFile (
	estimatedFileSizeInBytes : ulong
) : DscFile

Parameters

estimatedFileSizeInBytes

An unsigned long integer that specifies the estimated final size in bytes of the DSC file that you want to add to the file set.

Return Value

A DscFile that represents the new DSC file.

You cannot add new files to a file set after you call the Seal method to finalize the data in the file set.

The DSC service chooses the nodes on which to store the DSC file. To specify the name of the compute node on which you prefer the DSC file to be stored, use the AddNewFile(UInt64,String) version of the method instead.

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


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

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




Build Date:

2013-04-22
Show: