Propriedade do RDL BrokerService.QueueName
Gets or sets the queue that the service uses to hold messages.
Essa API não é compatível com CLS.
Namespace: Microsoft.SqlServer.Management.Smo.Broker
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
<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
'Uso
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)
Valor da propriedade
Tipo: System.String
A String value that specifies the name of the queue that the service uses to hold messages.
Exemplos
Readme_ServiceBrokerConfiguration
Consulte também
Referência
Namespace Microsoft.SqlServer.Management.Smo.Broker