Compartir a través de


BrokerService.QueueName Propiedad

Gets or sets the queue that the service uses to hold messages.

Esta API no es compatible con CLS. 

Espacio de nombres:  Microsoft.SqlServer.Management.Smo.Broker
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
<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 de la propiedad

Tipo: System.String
A String value that specifies the name of the queue that the service uses to hold messages.

Ejemplos

Readme_ServiceBrokerConfiguration

Vea también

Referencia

BrokerService Clase

Espacio de nombres Microsoft.SqlServer.Management.Smo.Broker

Otros recursos

Desarrollo (Service Broker)

Administrar Service Broker

Información general (Service Broker)