Delen via


BrokerObjectBase.GetDBName Method

Returns the name of the database on which the instance of Service Broker is implemented.

Namespace:  Microsoft.SqlServer.Management.Smo.Broker
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Protected Friend Overrides Function GetDBName As String
'Usage
Dim returnValue As String 

returnValue = Me.GetDBName()
protected internal override string GetDBName()
protected public:
virtual String^ GetDBName() override
abstract GetDBName : unit -> string  
override GetDBName : unit -> string
override function GetDBName() : String

Return Value

Type: System.String
A String value that specifies the name of the database on which Service Broker is implemented.

Examples

Readme_ServiceBrokerConfiguration

See Also

Reference

BrokerObjectBase Class

Microsoft.SqlServer.Management.Smo.Broker Namespace

Other Resources

Managing Service Broker

Service Broker