# CommitScriptAsync Method

## Overloads

| [CommitScriptAsync(String)](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.App.CommitScriptAsync.htm#Qlik_Engine_App_CommitScriptAsync_System_String_) |  | Commits the current script version so that any future changes will be part of a new version. |
| --- | --- | --- |
| [CommitScriptAsync(AsyncHandle, String)](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.App.CommitScriptAsync.htm#Qlik_Engine_App_CommitScriptAsync_Qlik_Engine_AsyncHandle_System_String_) |  | Commits the current script version so that any future changes will be part of a new version. |

[](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.App.CommitScriptAsync.htm) [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.App.CommitScriptAsync.htm)

## CommitScriptAsync(String)

Commits the current script version so that any future changes will be part of a new version.

### Declaration

```

          public Task CommitScriptAsync([QixName("qCommitMessage")] string commitMessage = null)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.String | commitMessage | Name of the version. |

### Returns

| Type | Description |
| --- | --- |
| System.Threading.Tasks.Task |  |

### Implements

[IApp.CommitScriptAsync(String)](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IApp.CommitScriptAsync.htm#Qlik_Engine_IApp_CommitScriptAsync_System_String_)

### Remarks

Only applicable to QCS.

[](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.App.CommitScriptAsync.htm) [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.App.CommitScriptAsync.htm)

## CommitScriptAsync(AsyncHandle, String)

Commits the current script version so that any future changes will be part of a new version.

### Declaration

```

          public Task CommitScriptAsync(AsyncHandle asyncHandle, [QixName("qCommitMessage")] string commitMessage = null)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [AsyncHandle](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.AsyncHandle.htm) | asyncHandle | Handle to asynchronous method request |
| System.String | commitMessage | Name of the version. |

### Returns

| Type | Description |
| --- | --- |
| System.Threading.Tasks.Task |  |

### Implements

[IApp.CommitScriptAsync(AsyncHandle, String)](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IApp.CommitScriptAsync.htm#Qlik_Engine_IApp_CommitScriptAsync_Qlik_Engine_AsyncHandle_System_String_)

### Remarks

Only applicable to QCS.