CheckSourceFolder Method in Class SMS_DriverPackage
Applies To: System Center 2012 Configuration Manager, System Center 2012 Configuration Manager SP1, System Center 2012 R2 Configuration Manager
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.
Syntax
uint32 CheckSourceFolder
{
[IN] String SourceFolder
[OUT] SInt32 Result
};
Parameters
SourceFolder
Data type: StringQualifiers: [id("0"), in]
Source folder.
Result
Data type: SInt32Qualifiers: [id("1"), out]
Results of check. Possible values are:
0
No error.
1
The folder is not in UNC format.
2
Cannot read/write to the folder.
4
The folder is not empty.
8
The folder is already used by another driver package.
Remarks
Requirements
Runtime Requirements
For more information, see Configuration Manager Server Runtime Requirements.
Development Requirements
For more information, see Configuration Manager Server Development Requirements.