Classe ServiceContractCollection

The ServiceContractCollection class represents a collection of ServiceContract objects that represent all the service contracts defined on a database.

Espace de noms :  Microsoft.SqlServer.Management.Smo.Broker
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public NotInheritable Class ServiceContractCollection _
    Inherits SimpleObjectCollectionBase
'Utilisation
Dim instance As ServiceContractCollection
public sealed class ServiceContractCollection : SimpleObjectCollectionBase
public ref class ServiceContractCollection sealed : public SimpleObjectCollectionBase
[<SealedAttribute>]
type ServiceContractCollection =  
    class
        inherit SimpleObjectCollectionBase
    end
public final class ServiceContractCollection extends SimpleObjectCollectionBase

Notes

A ServiceContractCollection object can be used to gain access to a set of service contracts. You can use the Item property to return a specific ServiceContract object.

Thread Safety

Tout membre statique public (Partagé dans Microsoft Visual Basic) de ce type est sûr dans le cadre des opérations à plusieurs threads. Tous les membres de l'instance ne sont pas garantis comme sûrs.

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Il n'est pas garanti que les membres d'instance soient thread-safe.