ActiveDirectorySchema.GetCurrentSchema Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the schema object for the forest that the currently logged-on user is a member of.
public:
static System::DirectoryServices::ActiveDirectory::ActiveDirectorySchema ^ GetCurrentSchema();
public static System.DirectoryServices.ActiveDirectory.ActiveDirectorySchema GetCurrentSchema ();
static member GetCurrentSchema : unit -> System.DirectoryServices.ActiveDirectory.ActiveDirectorySchema
Public Shared Function GetCurrentSchema () As ActiveDirectorySchema
Returns
An ActiveDirectorySchema object that represents the schema for the domain that the local computer is a member of.
Exceptions
A connection to the local domain cannot be made.
Applies to
See also
Співпраця з нами на GitHub
Джерело цього вмісту можна знайти на GitHub, де також можна створювати й переглядати запитання та запити на внесення змін. Докладні відомості наведено в нашому посібнику для співавторів.