2.13.0 (latest) 2.12.0 2.11.0 2.10.0 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.0.0

```sql
public sealed class SqlServerChangeTables.Types.SqlServerDdlConfig : IMessage<SqlServerChangeTables.Types.SqlServerDdlConfig>, IEquatable<SqlServerChangeTables.Types.SqlServerDdlConfig>, IDeepCloneable<SqlServerChangeTables.Types.SqlServerDdlConfig>, IBufferMessage, IMessage
```
Reference documentation and code samples for the DataStream v1 API class SqlServerChangeTables.Types.SqlServerDdlConfig.

DDL configuration for change tables.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> SqlServerChangeTables.Types.SqlServerDdlConfig

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[SqlServerChangeTables](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastream.V1/latest/Google.Cloud.Datastream.V1.SqlServerChangeTables.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastream.V1/latest/Google.Cloud.Datastream.V1.SqlServerChangeTables.Types)[SqlServerDdlConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastream.V1/latest/Google.Cloud.Datastream.V1.SqlServerChangeTables.Types.SqlServerDdlConfig.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[SqlServerChangeTables](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastream.V1/latest/Google.Cloud.Datastream.V1.SqlServerChangeTables.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastream.V1/latest/Google.Cloud.Datastream.V1.SqlServerChangeTables.Types)[SqlServerDdlConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastream.V1/latest/Google.Cloud.Datastream.V1.SqlServerChangeTables.Types.SqlServerDdlConfig.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[SqlServerChangeTables](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastream.V1/latest/Google.Cloud.Datastream.V1.SqlServerChangeTables.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastream.V1/latest/Google.Cloud.Datastream.V1.SqlServerChangeTables.Types)[SqlServerDdlConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastream.V1/latest/Google.Cloud.Datastream.V1.SqlServerChangeTables.Types.SqlServerDdlConfig.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Datastream.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastream.V1/latest/Google.Cloud.Datastream.V1.md.txt)

## Assembly

Google.Cloud.Datastream.V1.dll

## Constructors

### SqlServerDdlConfig()

```sql
public SqlServerDdlConfig()
```

### SqlServerDdlConfig(SqlServerDdlConfig)

```sql
public SqlServerDdlConfig(SqlServerChangeTables.Types.SqlServerDdlConfig other)
```

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `SqlServerChangeTablesTypesSqlServerDdlConfig` |

## Properties

### AutoCreateNewCaptureInstanceOnDdl

```sql
public bool AutoCreateNewCaptureInstanceOnDdl { get; set; }
```
Optional. If set to true, Datastream will automatically create a new
capture instance when DDL is detected on a table.The customer will be
responsible for deleting it so that the next set of DDLs can be handled.
The default is false and it means that DDL's will not be handled .

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### AutoDeleteOldCaptureInstance

```sql
public bool AutoDeleteOldCaptureInstance { get; set; }
```
Optional. If set to true, Datastream will automatically delete the old
capture instance after creating a new one to support a DDL change. The
default is false and means that the customer has to delete the old
capture instance manually.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |