SetSecurityLevel Method
Collapse the table of content
Expand the table of content

ConfigurationSet.SetSecurityLevel Method (ReplicationSecurityLevel)

 

Sets the AD LDS replication security level.

Namespace:   System.DirectoryServices.ActiveDirectory
Assembly:  System.DirectoryServices (in System.DirectoryServices.dll)

public void SetSecurityLevel(
	ReplicationSecurityLevel securityLevel
)

Parameters

securityLevel
Type: System.DirectoryServices.ActiveDirectory.ReplicationSecurityLevel

The ReplicationSecurityLevel value to which to set the AD LDS replication authentication mode.

Exception Condition
InvalidEnumArgumentException

securityLevel is not a valid ReplicationSecurityLevel value.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft