API Reference
Class
WsusPolicyState
WSUS policy state summary extracted from GPO registry policy.
Inheritance
- Object
- WsusPolicyState
Constructors
public WsusPolicyState(String DomainName, String TargetDn, IReadOnlyList<String> ServerUrls, Boolean AnyHttp, Boolean HttpsOnly, Boolean PinningDisabled, Nullable<UInt32> SetProxyBehaviorForUpdateDetection, Nullable<UInt32> ProxySettingsPerUser, Nullable<UInt32> UseWUServer, Boolean WsUsConfigured) #WSUS policy state summary extracted from GPO registry policy.
Parameters
- DomainName System.String
- Target domain.
- TargetDn System.String
- Policy target distinguished name.
- ServerUrls System.Collections.Generic.IReadOnlyList{System.String}
- Server URLs discovered (WUServer/WUStatusServer/Alternate).
- AnyHttp System.Boolean
- True when any server URL uses HTTP.
- HttpsOnly System.Boolean
- True when all URLs are HTTPS or no URLs configured.
- PinningDisabled System.Boolean
- True when TLS pinning is disabled by policy.
- SetProxyBehaviorForUpdateDetection System.Nullable{System.UInt32}
- Proxy behavior policy value.
- ProxySettingsPerUser System.Nullable{System.UInt32}
- Proxy per-user policy value.
- UseWUServer System.Nullable{System.UInt32}
- Use WSUS server policy value (AU).
- WsUsConfigured System.Boolean
- True when any WSUS server URL is configured.
Methods
public WsusPolicyState <Clone>$() #Returns:
WsusPolicyStatepublic Void Deconstruct(out String DomainName, out String TargetDn, out IReadOnlyList<String> ServerUrls, out Boolean AnyHttp, out Boolean HttpsOnly, out Boolean PinningDisabled, out Nullable<UInt32> SetProxyBehaviorForUpdateDetection, out Nullable<UInt32> ProxySettingsPerUser, out Nullable<UInt32> UseWUServer, out Boolean WsUsConfigured) #Returns:
VoidParameters
- DomainName String
- TargetDn String
- ServerUrls IReadOnlyList<String>
- AnyHttp Boolean
- HttpsOnly Boolean
- PinningDisabled Boolean
- SetProxyBehaviorForUpdateDetection Nullable<UInt32>
- ProxySettingsPerUser Nullable<UInt32>
- UseWUServer Nullable<UInt32>
- WsUsConfigured Boolean
public override Int32 GetHashCode() #Returns:
Int32public override String ToString() #Returns:
StringInherited Methods
Properties
public String TargetDn { get; set; } #Policy target distinguished name.
public IReadOnlyList<String> ServerUrls { get; set; } #Server URLs discovered (WUServer/WUStatusServer/Alternate).
public Boolean AnyHttp { get; set; } #True when any server URL uses HTTP.
public Boolean HttpsOnly { get; set; } #True when all URLs are HTTPS or no URLs configured.
public Boolean PinningDisabled { get; set; } #True when TLS pinning is disabled by policy.
public Nullable<UInt32> SetProxyBehaviorForUpdateDetection { get; set; } #Proxy behavior policy value.
public Nullable<UInt32> ProxySettingsPerUser { get; set; } #Proxy per-user policy value.
public Nullable<UInt32> UseWUServer { get; set; } #Use WSUS server policy value (AU).
public Boolean WsUsConfigured { get; set; } #True when any WSUS server URL is configured.