Megosztás a következőn keresztül:


BrokerServiceExtender Class

Exposes Service Broker service methods and properties in addition to the methods and properties of the BrokerService object.

This API is not CLS-compliant. The CLS-compliant alternative is [false].

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Management.Sdk.Sfc.SfcObjectExtender<BrokerService>
    Microsoft.SqlServer.Management.Smo.SmoObjectExtender<BrokerService>
      Microsoft.SqlServer.Management.Smo.Broker.BrokerServiceExtender

Namespace:  Microsoft.SqlServer.Management.Smo.Broker
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<CLSCompliantAttribute(False)> _
Public Class BrokerServiceExtender _
    Inherits SmoObjectExtender(Of BrokerService) _
    Implements ISfcValidate
'Usage
Dim instance As BrokerServiceExtender
[CLSCompliantAttribute(false)]
public class BrokerServiceExtender : SmoObjectExtender<BrokerService>, 
    ISfcValidate
[CLSCompliantAttribute(false)]
public ref class BrokerServiceExtender : public SmoObjectExtender<BrokerService^>, 
    ISfcValidate
[<CLSCompliantAttribute(false)>]
type BrokerServiceExtender =  
    class
        inherit SmoObjectExtender<BrokerService>
        interface ISfcValidate
    end
public class BrokerServiceExtender extends SmoObjectExtender<BrokerService> implements ISfcValidate

The BrokerServiceExtender type exposes the following members.

Constructors

  Name Description
Public method BrokerServiceExtender() Initializes a new instance of the BrokerServiceExtender class.
Public method BrokerServiceExtender(BrokerService) Initializes a new instance of the BrokerServiceExtender class and associates it with an instance of the BrokerService class.

Top

Properties

  Name Description
Public property Name Gets or sets the name of the Service Broker service associated with the BrokerServiceExtender object.
Protected property Parent Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcObjectExtender<TSfcInstance>.)
Public property ServiceContractMappings Gets a collection of contracts that are mapped to the Service Broker service.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Protected method GetParentSfcPropertySet Returns an instance of the parent objects property set. (Inherited from SmoObjectExtender<T>.)
Public method GetPropertySet Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcObjectExtender<TSfcInstance>.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnPropertyChanged Raises the PropertyChanged event when it has any subscriber. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcObjectExtender<TSfcInstance>.)
Protected method OnPropertyMetadataChanged Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcObjectExtender<TSfcInstance>.)
Protected method parent_PropertyChanged Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcObjectExtender<TSfcInstance>.)
Protected method parent_PropertyMetadataChanged Indicates the parent object in the PropertyMetadata. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcObjectExtender<TSfcInstance>.)
Protected method RegisterParentProperty Registers the property of the parent that has not been included in properties collection. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcObjectExtender<TSfcInstance>.)
Protected method RegisterProperty(PropertyInfo) Registers an additional reflected property. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcObjectExtender<TSfcInstance>.)
Protected method RegisterProperty(PropertyInfo, String) Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcObjectExtender<TSfcInstance>.)
Public method ToString (Inherited from Object.)
Public method Validate Performs a validation checks on the object.

Top

Events

  Name Description
Public event PropertyChanged Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcObjectExtender<TSfcInstance>.)
Public event PropertyMetadataChanged Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcObjectExtender<TSfcInstance>.)

Top

Remarks

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.