QueueName 屬性
取得或設定服務用來保留訊息的佇列。
此 API 不符合 CLS 標準。
命名空間: Microsoft.SqlServer.Management.Smo.Broker
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
<SfcReferenceAttribute(GetType(ServiceQueue), "Server[@Name = '{0}']/Database[@Name = '{1}']/ServiceBroker/ServiceQueue[@Name='{2}' and @Schema='{3}']", _
)> _
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
<CLSCompliantAttribute(False)> _
Public Property QueueName As String
Get
Set
'用途
Dim instance As BrokerService
Dim value As String
value = instance.QueueName
instance.QueueName = value
[SfcReferenceAttribute(typeof(ServiceQueue), "Server[@Name = '{0}']/Database[@Name = '{1}']/ServiceBroker/ServiceQueue[@Name='{2}' and @Schema='{3}']",
)]
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
[CLSCompliantAttribute(false)]
public string QueueName { get; set; }
[SfcReferenceAttribute(typeof(ServiceQueue), L"Server[@Name = '{0}']/Database[@Name = '{1}']/ServiceBroker/ServiceQueue[@Name='{2}' and @Schema='{3}']",
)]
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
[CLSCompliantAttribute(false)]
public:
property String^ QueueName {
String^ get ();
void set (String^ value);
}
[<SfcReferenceAttribute(typeof(ServiceQueue), "Server[@Name = '{0}']/Database[@Name = '{1}']/ServiceBroker/ServiceQueue[@Name='{2}' and @Schema='{3}']",
)>]
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
[<CLSCompliantAttribute(false)>]
member QueueName : string with get, set
function get QueueName () : String
function set QueueName (value : String)
屬性值
型別:System. . :: . .String
String 值,指定服務用來保留訊息之佇列的名稱。