ActiveDirectorySchemaClass(DirectoryContext, String) ActiveDirectorySchemaClass(DirectoryContext, String) ActiveDirectorySchemaClass(DirectoryContext, String) ActiveDirectorySchemaClass(DirectoryContext, String) Constructor

Definición

Inicializa una nueva instancia del objeto ActiveDirectorySchemaClass.Initializes a new instance of the ActiveDirectorySchemaClass object.

public:
 ActiveDirectorySchemaClass(System::DirectoryServices::ActiveDirectory::DirectoryContext ^ context, System::String ^ ldapDisplayName);
public ActiveDirectorySchemaClass (System.DirectoryServices.ActiveDirectory.DirectoryContext context, string ldapDisplayName);
new System.DirectoryServices.ActiveDirectory.ActiveDirectorySchemaClass : System.DirectoryServices.ActiveDirectory.DirectoryContext * string -> System.DirectoryServices.ActiveDirectory.ActiveDirectorySchemaClass
Public Sub New (context As DirectoryContext, ldapDisplayName As String)

Parámetros

context
DirectoryContext DirectoryContext DirectoryContext DirectoryContext

Objeto DirectoryContext que especifica el contexto de este objeto ActiveDirectorySchemaClass.An DirectoryContext object that specifies the context for this ActiveDirectorySchemaClass object.

ldapDisplayName
String String String String

String que representa el nombre LDAP para mostrar de este objeto ActiveDirectorySchemaClass.A String that represents the LDAP display name for this ActiveDirectorySchemaClass object.

Excepciones

context no hace referencia a un objeto Forest o ConfigurationSet válido, o ldapDisplayName es una cadena vacía.context does not refer to a valid Forest or ConfigurationSet, ldapDisplayName is an empty string.

context o ldapDisplayName es null.context or ldapDisplayName is null.

Comentarios

Se debe llamar al ActiveDirectorySchemaClass métodoparaconfirmarelobjetoquesecreóenelalmacéndedirectoriossubyacente.SaveThe Save method must be called to commit the ActiveDirectorySchemaClass object that was created to the underlying directory store.

Se aplica a

Consulte también: