Share via


Microsoft_TrustProvider class

The Microsoft_TrustProvider WMI class includes properties that control how domains are enumerated.

Syntax

[singleton]
class Microsoft_TrustProvider
{
  uint32  TrustListLifetime;
  uint32  TrustStatusLifetime;
  uint32  TrustCheckLevel;
  boolean ReturnAll;
};

Members

The Microsoft_TrustProvider class has these types of members:

Properties

The Microsoft_TrustProvider class has these properties.

ReturnAll

Data type: boolean

Access type: Read-only

If TRUE, enumerations return trusting as well as trusted domains.

TrustCheckLevel

Data type: uint32

Access type: Read-only

Type of enumeration to use when enumerating domains.

0

Enumerate only

1

Enumerate with SC_QUERY (verifies the secure channel between the domains).

2

Enumerate with password check

3

Enumerate with SC_RESET (resets the secure channel between the domains.)

TrustListLifetime

Data type: uint32

Access type: Read-only

Time in minutes to cache the last trust enumeration.

TrustStatusLifetime

Data type: uint32

Access type: Read-only

Time in minutes to cache the last request for status.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2008
Namespace
Root\microsoftactivedirectory
MOF
Trustmon.mof
DLL
Trustmon.dll

See also

Microsoft_DomainTrustStatus

Microsoft_LocalDomainInfo

Trustmon Provider