The SMS_SiteControlFile Windows Management Instrumentation (WMI) class is an SMS Provider server class, in Configuration Manager, that represents the site control file and contains methods to maintain version control of the site control file.

The following syntax is simplified from Managed Object Format (MOF) code and includes all inherited properties.

Class SMS_SiteControlFile : SMS_BaseClass 
{
	 String BuildNumber;
	 UInt32 FileType;
	 String FormatVersion;
	 String SCFData;
	 UInt32 SerialNumber;
	 String SiteCode;
};

Methods

The SMS_SiteControlFile class does not define any methods.

Properties

BuildNumber

Data type: StringAccess type: Read/WriteQualifiers: [lazy]Build number of the Configuration Manager installation that create the site control file. The default value is "".
FileType

Data type: UInt32Access type: Read/WriteQualifiers: [key, enumeration:ToSubClass]This property is deprecated.
FormatVersion

Data type: StringAccess type: Read/WriteQualifiers: [lazy]Version of the site control file format. The default value is "".
SCFData

Data type: StringAccess type: Read/WriteQualifiers: [lazy, large]Current site control file data in text format (accumulated deltas).
SerialNumber

Data type: UInt32Access type: ReadWriteQualifiers: [key]Unique ID of the file itself. The number is incremented every time the file changes. The default value is 0.
SiteCode

Data type: StringAccess type: Read-onlyQualifiers: [key, read, SizeLimit("3")]Site code of the site associated with the site control file. The default value is "".

Remarks

Class qualifiers for this class include:

  • Read (read-only)

For more information about both the class qualifiers and the property qualifiers included in the Properties section, see Configuration Manager Class and Property Qualifiers.

Your application uses the methods of this class to perform version control of the site control file. To update the contents of the site control file, the application should use classes derived from SMS_SiteControlItem Server WMI Class.

Requirements

Runtime Requirements

Development Requirements

See Also