BrokerService.QueueName Property
Gets or sets the queue that the service uses to hold messages.
This API is not CLS-compliant.
Namespace: Microsoft.SqlServer.Management.Smo.Broker
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
<CLSCompliantAttribute(False)> _
<SfcReferenceAttribute(GetType(ServiceQueue), "Server[@Name = '{0}']/Database[@Name = '{1}']/ServiceBroker/ServiceQueue[@Name='{2}' and @Schema='{3}']", _
)> _
Public Property QueueName As String
Get
Set
'Usage
Dim instance As BrokerService
Dim value As String
value = instance.QueueName
instance.QueueName = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
[CLSCompliantAttribute(false)]
[SfcReferenceAttribute(typeof(ServiceQueue), "Server[@Name = '{0}']/Database[@Name = '{1}']/ServiceBroker/ServiceQueue[@Name='{2}' and @Schema='{3}']",
)]
public string QueueName { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
[CLSCompliantAttribute(false)]
[SfcReferenceAttribute(typeof(ServiceQueue), L"Server[@Name = '{0}']/Database[@Name = '{1}']/ServiceBroker/ServiceQueue[@Name='{2}' and @Schema='{3}']",
)]
public:
property String^ QueueName {
String^ get ();
void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
[<CLSCompliantAttribute(false)>]
[<SfcReferenceAttribute(typeof(ServiceQueue), "Server[@Name = '{0}']/Database[@Name = '{1}']/ServiceBroker/ServiceQueue[@Name='{2}' and @Schema='{3}']",
)>]
member QueueName : string with get, set
function get QueueName () : String
function set QueueName (value : String)
Property Value
Type: System.String
A String value that specifies the name of the queue that the service uses to hold messages.
Examples
Readme_ServiceBrokerConfiguration
See Also
Reference
Microsoft.SqlServer.Management.Smo.Broker Namespace