This documentation is archived and is not being maintained.

ActiveDirectorySchemaClass.SchemaGuid Property

Gets or sets the schemaIDGUID for the ActiveDirectorySchemaClass object. For more information, see the topic "schemaIDGUID" or "Schema-ID-GUID" in the MSDN Library at http://msdn.microsoft.com/library.

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

public Guid SchemaGuid { get; set; }
/** @property */
public Guid get_SchemaGuid ()

/** @property */
public void set_SchemaGuid (Guid value)

public function get SchemaGuid () : Guid

public function set SchemaGuid (value : Guid)

Not applicable.

Property Value

A Guid object that contains the schemaIDGUID for the ActiveDirectorySchemaClass object. For more information, see the topic "schemaIDGUID" or "Schema-ID-GUID" in the MSDN Library at http://msdn.microsoft.com/library.

Exception typeCondition

ActiveDirectoryOperationException

A call to the underlying directory service resulted in an error.

ActiveDirectoryServerDownException

The target server is either busy or unavailable.

The SchemaGuid is used in many Active Directory Domain Services configuration operations, such as managing extended rights.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0
Show: