DscService.FileSetExists Method
Gets whether a file set with the specified name exists in the DSC.
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 Boolean
returnValue = instance.FileSetExists(dscFileSetName)
Syntax
'Declaration
Public Function FileSetExists ( _
dscFileSetName As String _
) As Boolean
public bool FileSetExists (
string dscFileSetName
)
public:
bool FileSetExists (
String^ dscFileSetName
)
public boolean FileSetExists (
String dscFileSetName
)
public function FileSetExists (
dscFileSetName : String
) : boolean
Parameters
- dscFileSetName
Specifies the name of the file set that you want check.
Return Value
A Boolean that indicates whether a file set with the specified name exists in the DSC. True indicates that the file set exists. False indicates that the file set does not exist.
Remarks
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
Build Date:
2013-04-22