ActiveDirectorySchemaClass::SchemaGuid Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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:
property Guid SchemaGuid {
	Guid get();
	void set(Guid value);
}

Property Value

Type: System::Guid

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 Condition
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.

.NET Framework
Available since 2.0
Return to top
Show: