| description | Learn how to check the state of an empty driver source folder with CheckSourceFolder class im Configuration Manager. |
|---|---|
| title | CheckSourceFolder Method |
| ms.date | 09/20/2016 |
| ms.subservice | sdk |
| ms.topic | reference |
| ms.collection | tier3 |
The CheckSourceFolder Windows Management Instrumentation (WMI) class method in Configuration Manager that checks the state of an empty driver source folder.
The following syntax is simplified from Managed Object Format (MOF) code and defines the method.
uint32 CheckSourceFolder
{
[IN] String SourceFolder
[OUT] SInt32 Result
};
SourceFolder
Data type: String
Qualifiers: [id("0"), in]
Source folder.
Result
Data type: SInt32
Qualifiers: [id("1"), out]
Results of check. Possible values are:
| Value | Result |
|---|---|
| 0 | No error. |
| 1 | The folder isn't in UNC format. |
| 2 | Can't read/write to the folder. |
| 4 | The folder isn't empty. |
| 8 | The folder is already used by another driver package. |
For more information, see Configuration Manager Server Runtime Requirements.
For more information, see Configuration Manager Server Development Requirements.