ReplicationProvider1 class
The base class for the provider instance.
The following syntax is simplified from MOF code and includes all inherited properties.
Syntax
class ReplicationProvider1 : __Win32Provider
{
string ClientLoadableCLSID;
string CLSID;
sint32 Concurrency;
string DefaultMachineName;
boolean Enabled;
sint32 ImpersonationLevel = 0;
sint32 InitializationReentrancy = 0;
datetime InitializationTimeoutInterval;
boolean InitializeAsAdminFirst;
string Name;
datetime OperationTimeoutInterval;
boolean PerLocaleInitialization = FALSE;
boolean PerUserInitialization = FALSE;
boolean Pure = TRUE;
string SecurityDescriptor;
boolean SupportsExplicitShutdown;
boolean SupportsExtendedStatus;
boolean SupportsQuotas;
boolean SupportsSendStatus;
boolean SupportsShutdown;
boolean SupportsThrottling;
datetime UnloadTimeout;
uint32 Version;
string HostingModel;
};
Members
The ReplicationProvider1 class has these types of members:
Properties
The ReplicationProvider1 class has these properties.
-
ClientLoadableCLSID
-
-
Data type: string
-
Access type: Read/write
Class identifier that WMI uses to determine whether or not to load a high performance provider into the client process or the WMI process. If both the provider and client are located on the same computer, WMI loads the provider in-process to the client by using ClientLoadableCLSID as the class identifier. When the provider and client are located on different computers, WMI loads the provider in-process to WMI. WMI also uses ClientLoadableCLSID to support refresh operations.
For more information, see Registering a High-Performance Provider.
This property is inherited from __Win32Provider.
-
-
CLSID
-
-
Data type: string
-
Access type: Read/write
GUID that represents the class identifier (CLSID) of the provider COM object. This COM object must contain an implementation of the IWbemProviderInit interface.
This property is inherited from __Win32Provider.
-
-
Concurrency
-
-
Data type: sint32
-
Access type: Read/write
Not used.
This property is inherited from __Win32Provider.
-
-
DefaultMachineName
-
-
Data type: string
-
Access type: Read/write
Identifies the computer on which to start the provider. If the provider runs on the local computer it is NULL.
This property is inherited from __Win32Provider.
-
-
Enabled
-
-
Data type: boolean
-
Access type: Read/write
If TRUE, this instance is enabled and can be used to complete client requests.
This property is inherited from __Win32Provider.
-
-
HostingModel
-
-
Data type: string
-
Access type: Read-only
-
Qualifiers: override ("HostingModel")
Contains the hosting model of the provider.
-
-
ImpersonationLevel
-
-
Data type: sint32
-
Access type: Read/write
Reserved. The default value is zero (0).
This property is inherited from __Win32Provider.
-
-
InitializationReentrancy
-
-
Data type: sint32
-
Access type: Read/write
Set of flags that provide information about serialization. The default value is zero (0).
This property is inherited from __Win32Provider.
-
-
0
-
All initialization of this provider must be serialized.
-
1
-
All initializations of this provider in the same namespace must be serialized.
-
2
-
No initialization serialization is necessary.
InitializationTimeoutInterval
-
Data type: datetime
-
Access type: Read/write
Not used.
This property is inherited from __Win32Provider.
InitializeAsAdminFirst
-
Data type: boolean
-
Access type: Read/write
Windows Server 2003: This property is disabled.
This property is inherited from __Win32Provider.
Name
-
Data type: string
-
Access type: Read/write
-
Qualifiers: Key
The provider name.
This property is inherited from __Win32Provider.
OperationTimeoutInterval
-
Data type: datetime
-
Access type: Read/write
Not used.
This property is inherited from __Win32Provider.
PerLocaleInitialization
-
Data type: boolean
-
Access type: Read/write
If TRUE, the provider is initialized for each locale when a user connects to the same namespace more than one time using different locales. The default value is FALSE.
This property is inherited from __Win32Provider.
PerUserInitialization
-
Data type: boolean
-
Access type: Read/write
If TRUE, the provider is initialized one time for each NT LAN Manager (NTLM) user that makes requests to the provider. If FALSE (default), the provider is initialized one time for all users.
This property is inherited from __Win32Provider.
Pure
-
Data type: boolean
-
Access type: Read/write
If TRUE, the provider agrees to prepare to unload by calling IUnknown::Release on all outstanding interface points when WMI calls the Release method of its primary interface. Providers that must remain clients of WMI after they do not function as providers should set Pure to FALSE. The default setting is TRUE. For more information, see the Remarks section of this topic.
This property is inherited from __Win32Provider.
SecurityDescriptor
-
Data type: string
-
Access type: Read/write
Security descriptor (SD) in the Security Descriptor Definition Language (SDDL) that determines the set of users that can successfully call IWbemDecoupledRegistrar:Register for the decoupled provider. For more information, see the Security Descriptor Definition Language topic in the Security section of the Windows SDK. This security descriptor is used only for decoupled providers, and does not affect other providers. For more information, see Incorporating a Provider in an Application.
WMI performs access checks for decoupled providers that use the IWbemProviderInit and IWbemObjectSink interfaces. If the security descriptor is NULL, then only applications or services that run under the LocalSystem, NetworkService, LocalService accounts can run a decoupled provider.
The following string shows a decoupled provider to be run only by built-in Administrators."O:BAG:BAD:(A;;0x1;;;BA)"
For more information about setting the SecurityDescriptor property, see Maintaining WMI Security.
This property is inherited from __Win32Provider.
SupportsExplicitShutdown
-
Data type: boolean
-
Access type: Read/write
Not used.
This property is inherited from __Win32Provider.
SupportsExtendedStatus
-
Data type: boolean
-
Access type: Read/write
Not used.
This property is inherited from __Win32Provider.
SupportsQuotas
-
Data type: boolean
-
Access type: Read/write
Not used.
This property is inherited from __Win32Provider.
SupportsSendStatus
-
Data type: boolean
-
Access type: Read/write
Not used.
This property is inherited from __Win32Provider.
SupportsShutdown
-
Data type: boolean
-
Access type: Read/write
Not used.
This property is inherited from __Win32Provider.
SupportsThrottling
-
Data type: boolean
-
Access type: Read/write
Not used.
This property is inherited from __Win32Provider.
UnloadTimeout
-
Data type: datetime
-
Access type: Read/write
Date and Time Format that specifies how long WMI allows the provider to remain idle before it is unloaded. Typically, providers request that WMI wait no longer than five minutes.
For the current version of WMI, the value of this property is ignored. WMI unloads the provider based on the time-out value in an internal class in the \root namespace. It is recommended that providers set UnloadTimeout. For more information, see Unloading a Provider.
This property is inherited from __Win32Provider.
Version
-
Data type: uint32
-
Access type: Read/write
Version of the provider. The supported versions are 1 and 2. Version 2 strengthens validity checks for all associated property registrations, specifically the ImpersonationLevel property.
This property is inherited from __Win32Provider.
Remarks
An instance of this class represents the WMI provider for Active Directory Domain services. The defaults are as follows:
- Name = "ReplProv1"
- ClsID = "{29288F43-39B1-40db-B41F-CE899450E911}"
- HostingModel = "NetworkServiceHost"
Requirements
Requirement | Value |
---|---|
Minimum supported client |
None supported |
Minimum supported server |
Windows Server 2008 |
Namespace |
Root\MicrosoftActiveDirectory |
MOF |
|
DLL |
|