Konstruktor ServiceQueue (ServiceBroker, String)
Inicjuje nowe wystąpienie ServiceQueue klasy dla określonego wystąpienia Service Broker i o określonej nazwie.
Przestrzeń nazw: Microsoft.SqlServer.Management.Smo.Broker
Zestaw: Microsoft.SqlServer.Smo (w Microsoft.SqlServer.Smo.dll)
Składnia
'Deklaracja
Public Sub New ( _
serviceBroker As ServiceBroker, _
name As String _
)
'Użycie
Dim serviceBroker As ServiceBroker
Dim name As String
Dim instance As New ServiceQueue(serviceBroker, _
name)
public ServiceQueue(
ServiceBroker serviceBroker,
string name
)
public:
ServiceQueue(
ServiceBroker^ serviceBroker,
String^ name
)
new :
serviceBroker:ServiceBroker *
name:string -> ServiceQueue
public function ServiceQueue(
serviceBroker : ServiceBroker,
name : String
)
Parametry
- serviceBroker
Typ: Microsoft.SqlServer.Management.Smo.Broker.ServiceBroker
A ServiceBroker wartość obiektu, który określa wystąpienie Service Broker o usługa kolejki jest zdefiniowany.
- name
Typ: System.String
A String wartość, która określa nazwę ServiceQueue obiektu.