Поделиться через


Класс ServiceQueueExtender

Exposes Service Broker queue methods and properties in addition to the methods and properties of the ServiceQueue object.

Этот API-интерфейс несовместим с CLS. В качестве CLS-совместимой альтернативы можно использовать .

Иерархия наследования

System. . :: . .Object
  Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcObjectExtender< (Of < ( <'ServiceQueue> ) > ) >
    Microsoft.SqlServer.Management.Smo. . :: . .SmoObjectExtender< (Of < ( <'ServiceQueue> ) > ) >
      Microsoft.SqlServer.Management.Smo.Broker..::..ServiceQueueExtender

Пространство имен:  Microsoft.SqlServer.Management.Smo.Broker
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
<CLSCompliantAttribute(False)> _
Public Class ServiceQueueExtender _
    Inherits SmoObjectExtender(Of ServiceQueue) _
    Implements ISfcValidate
'Применение
Dim instance As ServiceQueueExtender
[CLSCompliantAttribute(false)]
public class ServiceQueueExtender : SmoObjectExtender<ServiceQueue>, 
    ISfcValidate
[CLSCompliantAttribute(false)]
public ref class ServiceQueueExtender : public SmoObjectExtender<ServiceQueue^>, 
    ISfcValidate
[<CLSCompliantAttribute(false)>]
type ServiceQueueExtender =  
    class
        inherit SmoObjectExtender<ServiceQueue>
        interface ISfcValidate
    end
public class ServiceQueueExtender extends SmoObjectExtender<ServiceQueue> implements ISfcValidate

Тип ServiceQueueExtender обеспечивает доступ к следующим элементам.

Конструкторы

  Имя Описание
Открытый метод ServiceQueueExtender() () () () Initializes a new instance of the ServiceQueueExtender class.
Открытый метод ServiceQueueExtender(ServiceQueue) Initializes a new instance of the ServiceQueueExtender class and associates it with an instance of the ServiceQueue class.

В начало

Свойства

  Имя Описание
Открытое свойство Name Gets or sets the name of the conversation priority associated with the ServiceQueueExtender object.
Защищенное свойство Parent Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server. (Производный от SfcObjectExtender< (Of < ( <'TSfcInstance> ) > ) >.)
Открытое свойство ServerVersion Gets a Version object describing the version of the server on which the Service Broker queue is implemented.

В начало

Методы

  Имя Описание
Открытый метод Equals (Производный от Object.)
Защищенный метод Finalize (Производный от Object.)
Открытый метод GetHashCode (Производный от Object.)
Защищенный метод GetParentSfcPropertySet Returns an instance of the parent objects property set. (Производный от SmoObjectExtender< (Of < ( <'T> ) > ) >.)
Открытый метод GetPropertySet Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server. (Производный от SfcObjectExtender< (Of < ( <'TSfcInstance> ) > ) >.)
Открытый метод GetType (Производный от Object.)
Защищенный метод MemberwiseClone (Производный от Object.)
Защищенный метод OnPropertyChanged Raises the PropertyChanged event when it has any subscriber. Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server. (Производный от SfcObjectExtender< (Of < ( <'TSfcInstance> ) > ) >.)
Защищенный метод OnPropertyMetadataChanged Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server. (Производный от SfcObjectExtender< (Of < ( <'TSfcInstance> ) > ) >.)
Защищенный метод parent_PropertyChanged Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server. (Производный от SfcObjectExtender< (Of < ( <'TSfcInstance> ) > ) >.)
Защищенный метод parent_PropertyMetadataChanged Indicates the parent object in the PropertyMetadata. Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server. (Производный от SfcObjectExtender< (Of < ( <'TSfcInstance> ) > ) >.)
Защищенный метод RegisterParentProperty Registers the property of the parent that has not been included in properties collection. Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server. (Производный от SfcObjectExtender< (Of < ( <'TSfcInstance> ) > ) >.)
Защищенный метод RegisterProperty(PropertyInfo) Registers an additional reflected property. Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server. (Производный от SfcObjectExtender< (Of < ( <'TSfcInstance> ) > ) >.)
Защищенный метод RegisterProperty(PropertyInfo, String) Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server. (Производный от SfcObjectExtender< (Of < ( <'TSfcInstance> ) > ) >.)
Открытый метод ToString (Производный от Object.)
Открытый метод Validate Validates the ServiceQueue associated with this instance.

В начало

События

  Имя Описание
Открытое событие PropertyChanged Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server. (Производный от SfcObjectExtender< (Of < ( <'TSfcInstance> ) > ) >.)
Открытое событие PropertyMetadataChanged Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server. (Производный от SfcObjectExtender< (Of < ( <'TSfcInstance> ) > ) >.)

В начало

Замечания

Thread Safety

Все общие статические члены этого типа (Shared в Microsoft Visual Basic) можно использовать в многопоточных операциях. Безопасная многопоточная работа с членами экземпляров типа не гарантируется.

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.