DscService.GetFileSet Method
Gets a DscFileSet object for the file set with the specified name.
Namespace: Microsoft.Hpc.Dsc
Assembly: Microsoft.Hpc.Dsc (in Microsoft.Hpc.Dsc.dll)
Usage
'Usage
Dim instance As DscService
Dim dscFileSetName As String
Dim returnValue As DscFileSet
returnValue = instance.GetFileSet(dscFileSetName)
Syntax
'Declaration
Public Function GetFileSet ( _
dscFileSetName As String _
) As DscFileSet
public DscFileSet GetFileSet (
string dscFileSetName
)
public:
DscFileSet^ GetFileSet (
String^ dscFileSetName
)
public DscFileSet GetFileSet (
String dscFileSetName
)
public function GetFileSet (
dscFileSetName : String
) : DscFileSet
Parameters
- dscFileSetName
A String that specifies the name of the file set for which you want to get a DscFileSet object.
Return Value
A DscFileSet object that represents the specified file set.
Remarks
To get a collection of DscFileSet objects for file sets in the DSC that have names that start with a specified string, use the GetFileSets method.
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
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
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
DscService Class
DscService Members
Microsoft.Hpc.Dsc Namespace
DscFileSet
GetFileSets
FileSetExists
CreateFileSet
Build Date:
2013-04-22