SMS_ADForestDiscoveryStatus Server WMI Class
Applies To: System Center 2012 Configuration Manager, System Center 2012 Configuration Manager SP1, System Center 2012 R2 Configuration Manager
The SMS_ADForestDiscoveryStatus Windows Management Instrumentation (WMI) class is an SMS Provider server class, in Configuration Manager, that represents the status of Configuration Manager Active Directory Forest Discovery.
The following syntax is simplified from Managed Object Format (MOF) code and includes all inherited properties.
Syntax
Class SMS_ADForestDiscoveryStatus : SMS_BaseClass
{
Boolean DiscoveryEnabled;
UInt32 DiscoveryStatus;
UInt32 ForestID;
DateTime LastDiscoveryTime;
DateTime LastPublishingTime;
Boolean PublishingEnabled;
UInt32 PublishingStatus;
String SiteCode;
String SiteName;
};
Methods
The SMS_ADForestDiscoveryStatus class does not define any methods.
Properties
DiscoveryEnabled
Data type: BooleanAccess type: Read-only
Qualifiers: [read]
true if forest discovery is enabled.
DiscoveryStatus
Data type: UInt32Access type: Read-only
Qualifiers: [enumeration, read]
Discovery status. Possible values are:
0
SUCCEEDED
1
COMPLETED
2
ACCESS_DENIED
3
FAILED
4
STOPPED
ForestID
Data type: UInt32Access type: Read/Write
Qualifiers: [key]
Identifier of the Active Directory forest.
LastDiscoveryTime
Data type: DateTimeAccess type: Read-only
Qualifiers: [read]
The last time the forest was discovered.
LastPublishingTime
Data type: DateTimeAccess type: Read-only
Qualifiers: [read]
The last time the forest was published.
PublishingEnabled
Data type: BooleanAccess type: Read-only
Qualifiers: [read]
true if Active Directory publishing is enabled.
PublishingStatus
Data type: UInt32Access type: Read-only
Qualifiers: [enumeration, read]
Publishing status. Possible values are:
0
UNKNOWN
1
SUCCEEDED
2
FAILED
SiteCode
Data type: StringAccess type: Read/Write
Qualifiers: [key]
The site code where the Active Directory forest was discovered.
SiteName
Data type: StringAccess type: Read-only
Qualifiers: [read]
The site name where the Active Directory forest was discovered.
Remarks
Requirements
Runtime Requirements
For more information, see Configuration Manager Server Runtime Requirements.
Development Requirements
For more information, see Configuration Manager Server Development Requirements.