Share via


DnsServerTrustPoint class

Retrieves settings for a trust point on a DNS server.

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

Syntax

[ClassVersion("1.0.0"), dynamic, provider("DnsServerPSProvider"), AMENDMENT]
class DnsServerTrustPoint
{
  string   TrustPointName;
  string   TrustPointState;
  datetime LastActiveRefreshTime;
  datetime NextActiveRefreshTime;
  datetime LastSuccessfulActiveRefreshTime;
  uint32   LastActiveRefreshResult;
  string   LastActiveRefreshResultDescription;
};

Members

The DnsServerTrustPoint class has these types of members:

Properties

The DnsServerTrustPoint class has these properties.

LastActiveRefreshResult

Data type: uint32

Access type: Read-only

The error code for the last active refresh attempt for the trust point. This property is returns "0" for a success and an error code for a failure.

LastActiveRefreshResultDescription

Data type: string

Access type: Read-only

A user friendly description for LastActiveRefreshResult.

LastActiveRefreshTime

Data type: datetime

Access type: Read-only

The time when active refresh was attempted for the trust point.

LastSuccessfulActiveRefreshTime

Data type: datetime

Access type: Read-only

The time when active refresh was successful for the trust point.

NextActiveRefreshTime

Data type: datetime

Access type: Read-only

The time when active refresh is scheduled to happen for the trust point.

TrustPointName

Data type: string

Access type: Read-only

The name of the trust point.

TrustPointState

Data type: string

Access type: Read-only

The state of the trust point.

The possible values are.

Initialized ("Initialized")

DSPending ("DSPending")

DSInvalid ("DSInvalid")

AddPending ("AddPending")

Valid ("Valid")

Missing ("Missing")

Revoked ("Revoked")

Deleted ("Deleted")

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012
Namespace
Root\Microsoft\Windows\Dns
MOF
DnsServerPSProvider.mof
DLL
DnsServerPSProvider.dll

See also

DnsServerPSProvider Provider