다음을 통해 공유


BrokerService.QueueName 속성

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

이 API는 CLS 규격이 아닙니다. 

네임스페이스:  Microsoft.SqlServer.Management.Smo.Broker
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
<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
‘사용 방법
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)

속성 값

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

Readme_ServiceBrokerConfiguration

참고 항목

참조

BrokerService 클래스

Microsoft.SqlServer.Management.Smo.Broker 네임스페이스

관련 자료

개발(Service Broker)

Service Broker 관리

개요(Service Broker)