Microsoft.SqlServer.TransactSql.ScriptDom by Microsoft

<PackageReference Include="Microsoft.SqlServer.TransactSql.ScriptDom" Version="161.9109.0" />

.NET API 5,160,480 bytes

 DbccStatement

public class DbccStatement : TSqlStatement
Represents DBCC statement (all variants)
public DbccCommand Command { get; set; }

DBCC statement type.

public string DllName { get; set; }

DLL name in case of FREE command. Note, that actual presence of FREE keyword is not checked by parser.

public IList<DbccNamedLiteral> Literals { get; }

Named literals

public IList<DbccOption> Options { get; }

DBCC statement options

public bool OptionsUseJoin { get; set; }

Indicates if the DBCC options are specified using JOIN

public bool ParenthesisRequired { get; set; }

If true, means that empty parenthesis required even if there were no literals (weird - but used by tracestatus)

public DbccStatement()