Classe ServiceContractExtender

Exposes Service Broker contract methods and properties in addition to the methods and properties of the ServiceContract object.

Questa API non è conforme a CLS. L'alternativa conforme a CLS è .

Gerarchia di ereditarietà

System.Object
  Microsoft.SqlServer.Management.Sdk.Sfc.SfcObjectExtender<ServiceContract>
    Microsoft.SqlServer.Management.Smo.SmoObjectExtender<ServiceContract>
      Microsoft.SqlServer.Management.Smo.Broker.ServiceContractExtender

Spazio dei nomi  Microsoft.SqlServer.Management.Smo.Broker
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

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

Nel tipo ServiceContractExtender sono esposti i membri seguenti.

Costruttori

  Nome Descrizione
Metodo pubblico ServiceContractExtender() Initializes a new instance of the ServiceContractExtender class.
Metodo pubblico ServiceContractExtender(ServiceContract) Initializes a new instance of the ServiceContractExtender class and associates it with an instance of the ServiceContract class.

In alto

Proprietà

  Nome Descrizione
Proprietà pubblica MessageTypeMappings Gets the MessageTypeMappingCollection associated with the ServiceContractExtender object.
Proprietà pubblica Name Gets or sets the name of the Service Broker contract associated with the ServiceContractExtender object.
Proprietà protetta Parent Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcObjectExtender<TSfcInstance>.

In alto

Metodi

  Nome Descrizione
Metodo pubblico Equals Ereditato da Object.
Metodo protetto Finalize Ereditato da Object.
Metodo pubblico GetHashCode Ereditato da Object.
Metodo protetto GetParentSfcPropertySet Returns an instance of the parent objects property set. Ereditato da SmoObjectExtender<T>.
Metodo pubblico GetPropertySet Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcObjectExtender<TSfcInstance>.
Metodo pubblico GetType Ereditato da Object.
Metodo protetto MemberwiseClone Ereditato da Object.
Metodo protetto OnPropertyChanged Raises the PropertyChanged event when it has any subscriber. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcObjectExtender<TSfcInstance>.
Metodo protetto OnPropertyMetadataChanged Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcObjectExtender<TSfcInstance>.
Metodo protetto parent_PropertyChanged Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcObjectExtender<TSfcInstance>.
Metodo protetto parent_PropertyMetadataChanged Indicates the parent object in the PropertyMetadata. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcObjectExtender<TSfcInstance>.
Metodo protetto RegisterParentProperty Registers the property of the parent that has not been included in properties collection. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcObjectExtender<TSfcInstance>.
Metodo protetto RegisterProperty(PropertyInfo) Registers an additional reflected property. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcObjectExtender<TSfcInstance>.
Metodo protetto RegisterProperty(PropertyInfo, String) Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcObjectExtender<TSfcInstance>.
Metodo pubblico ToString Ereditato da Object.
Metodo pubblico Validate Validates the ServiceContract associated with this instance.

In alto

Eventi

  Nome Descrizione
Evento pubblico PropertyChanged Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcObjectExtender<TSfcInstance>.
Evento pubblico PropertyMetadataChanged Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcObjectExtender<TSfcInstance>.

In alto

Osservazioni

Thread Safety

Tutti i membri statici pubblici (Shared in Microsoft Visual Basic) di questo tipo sono sicuri per le operazioni a thread multipli. Non è invece garantita la sicurezza dei membri dell'istanza.

Protezione dei thread

I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.

Vedere anche

Riferimento

Spazio dei nomi Microsoft.SqlServer.Management.Smo.Broker