8 references to TRUST_ATTRIBUTE_QUARANTINED_DOMAIN
System.DirectoryServices (8)
System\DirectoryServices\ActiveDirectory\Domain.cs (2)
557
return TrustHelper.GetTrustedDomainInfoStatus(context, Name, targetDomainName, Interop.Advapi32.TRUST_ATTRIBUTE.
TRUST_ATTRIBUTE_QUARANTINED_DOMAIN
, false);
570
TrustHelper.SetTrustedDomainInfoStatus(context, Name, targetDomainName, Interop.Advapi32.TRUST_ATTRIBUTE.
TRUST_ATTRIBUTE_QUARANTINED_DOMAIN
, enable, false);
System\DirectoryServices\ActiveDirectory\TrustHelper.cs (6)
95
else if (attribute == Interop.Advapi32.TRUST_ATTRIBUTE.
TRUST_ATTRIBUTE_QUARANTINED_DOMAIN
)
97
if ((domainInfo.TrustAttributes & Interop.Advapi32.TRUST_ATTRIBUTE.
TRUST_ATTRIBUTE_QUARANTINED_DOMAIN
) == 0)
202
else if (attribute == Interop.Advapi32.TRUST_ATTRIBUTE.
TRUST_ATTRIBUTE_QUARANTINED_DOMAIN
)
207
domainInfo.TrustAttributes |= Interop.Advapi32.TRUST_ATTRIBUTE.
TRUST_ATTRIBUTE_QUARANTINED_DOMAIN
;
212
domainInfo.TrustAttributes &= ~(Interop.Advapi32.TRUST_ATTRIBUTE.
TRUST_ATTRIBUTE_QUARANTINED_DOMAIN
);
507
tdi.TrustAttributes = Interop.Advapi32.TRUST_ATTRIBUTE.
TRUST_ATTRIBUTE_QUARANTINED_DOMAIN
;