# C1.AdoNet.ServiceNow.C1ServiceNowConnection.Database

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_AdoNet_ServiceNow_C1ServiceNowConnection_Database_" data-uid="C1.AdoNet.ServiceNow.C1ServiceNowConnection.Database*">Database Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_AdoNet_ServiceNow_C1ServiceNowConnection_Database_" data-uid="C1.AdoNet.ServiceNow.C1ServiceNowConnection.Database*"></a>
<h4 id="C1_AdoNet_ServiceNow_C1ServiceNowConnection_Database" data-uid="C1.AdoNet.ServiceNow.C1ServiceNowConnection.Database">Database</h4>
<div class="markdown level1 summary"><p>Gets the name of the current database after a connection is opened,
or the database name specified in the connection string before the connection is opened.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public override string Database { get; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Overrides ReadOnly Property Database As String</code></pre>
</div>
<h5 class="overrides">Overrides</h5>
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.data.common.dbconnection.database">DbConnection.Database</a></div>
</div>
