Delen via


ServiceQueue.ProcedureDatabase Property

Gets or sets the database that contains the executing procedure.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property ProcedureDatabase As String 
    Get 
    Set
'Usage
Dim instance As ServiceQueue 
Dim value As String 

value = instance.ProcedureDatabase

instance.ProcedureDatabase = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public string ProcedureDatabase { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property String^ ProcedureDatabase {
    String^ get ();
    void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member ProcedureDatabase : string with get, set
function get ProcedureDatabase () : String 
function set ProcedureDatabase (value : String)

Property Value

Type: System.String
A String value that specifies the database that contains the executing procedure.

Examples

Readme_ServiceBrokerConfiguration

See Also

Reference

ServiceQueue Class

Microsoft.SqlServer.Management.Smo.Broker Namespace

Other Resources

DEL - Development (Service Broker)

Managing Service Broker

Service Broker

CREATE QUEUE (Transact-SQL)