# SQLFreeEnv

```csharp
[DllImport("odbc32.dll", SetLastError = true)]
public static extern int SQLFreeEnv(
   IntPtr henv
);
```

Microsoft documentation: [Link](https://docs.microsoft.com/en-us/sql/odbc/reference/syntax/sqlfreeenv-function)
