AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

This is the response object from the StartSchemaExtension operation.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceResponse
    Amazon.DirectoryService.Model.StartSchemaExtensionResponse

Namespace: Amazon.DirectoryService.Model
Assembly: AWSSDK.DirectoryService.dll
Version: 3.x.y.z

Syntax

C#
public class StartSchemaExtensionResponse : AmazonWebServiceResponse

The StartSchemaExtensionResponse type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property ContentLength System.Int64 Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property HttpStatusCode System.Net.HttpStatusCode Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property ResponseMetadata Amazon.Runtime.ResponseMetadata Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property SchemaExtensionId System.String

Gets and sets the property SchemaExtensionId.

The identifier of the schema extension that will be applied.

Examples

The following example applies a schema extension to a specified Microsoft AD directory.

To start a schema extension


            var client = new AmazonDirectoryServiceClient();
            var response = client.StartSchemaExtension(new StartSchemaExtensionRequest 
            {
                CreateSnapshotBeforeSchemaExtension = true,
                Description = "Adds maycontain attribute to user class. Precede each line as it would be formatted in an ldif file.",
                DirectoryId = "d-92654abfed",
                LdifContent = "dn: CN=User,CN=Schema,CN=Configuration,DC=sales,DC=example,DC=com
changetype: modify
add: mayContain
mayContain: drink
-

DN:
changetype: modify
replace: schemaupdatenow
schemaupdatenow: 1
-"
            });

            string schemaExtensionId = response.SchemaExtensionId;

            

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5