Редактиране

Споделяне чрез


SMS_SiteControlFile Server WMI Class

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.

Syntax

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

Access type: Read/Write

Qualifiers: [lazy]

Build number of the Configuration Manager installation that creates the site control file. The default value is "".

FileType
Data type: UInt32

Access type: Read/Write

Qualifiers: [key, enumeration:ToSubClass]

This property is deprecated.

FormatVersion
Data type: String

Access type: Read/Write

Qualifiers: [lazy]

Version of the site control file format. The default value is "".

SCFData
Data type: String

Access type: Read/Write

Qualifiers: [lazy, large]

Current site control file data in text format (accumulated deltas).

SerialNumber
Data type: UInt32

Access type: ReadWrite

Qualifiers: [key]

Unique ID of the file itself. The number is incremented every time the file changes. The default value is 0.

SiteCode
Data type: String

Access type: Read-only

Qualifiers: [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:

Requirements

Runtime Requirements

For more information, see Configuration Manager Server Runtime Requirements.

Development Requirements

For more information, see Configuration Manager Server Development Requirements.

See Also

Configuration Manager Site Configuration Server WMI Classes
SMS_SiteControlItem Server WMI Class