Share via


BusinessLogicConnection.Database Property

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Gets the name of the current database after a connection is opened.

Namespace:  Microsoft.SqlServer.Replication.BusinessLogicSupport
Assembly:  Microsoft.SqlServer.Replication.BusinessLogicSupport (in Microsoft.SqlServer.Replication.BusinessLogicSupport.dll)

Syntax

'Declaration
Public ReadOnly Property Database As String 
    Get
'Usage
Dim instance As BusinessLogicConnection 
Dim value As String 

value = instance.Database
public string Database { get; }
public:
virtual property String^ Database {
    String^ get () sealed;
}
abstract Database : string 
override Database : string
final function get Database () : String

Property Value

Type: System.String
The name of the current database after a connection is opened.

Implements

IDbConnection.Database

See Also

Reference

BusinessLogicConnection Class

Microsoft.SqlServer.Replication.BusinessLogicSupport Namespace