Skip to content

Latest commit

 

History

History
55 lines (41 loc) · 1.42 KB

File metadata and controls

55 lines (41 loc) · 1.42 KB
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

CheckSourceFolder Method in Class SMS_DriverPackage

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: 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.

Remarks

Requirements

Runtime Requirements

For more information, see Configuration Manager Server Runtime Requirements.

Development Requirements

For more information, see Configuration Manager Server Development Requirements.