Udostępnij za pośrednictwem


Metoda ServiceContractCollection.Add

Dodaje określony ServiceContract obiekt do kolekcja

Przestrzeń nazw:  Microsoft.SqlServer.Management.Smo.Broker
Zestaw:  Microsoft.SqlServer.Smo (w Microsoft.SqlServer.Smo.dll)

Składnia

'Deklaracja
Public Sub Add ( _
    serviceContract As ServiceContract _
)
'Użycie
Dim instance As ServiceContractCollection
Dim serviceContract As ServiceContract

instance.Add(serviceContract)
public void Add(
    ServiceContract serviceContract
)
public:
void Add(
    ServiceContract^ serviceContract
)
member Add : 
        serviceContract:ServiceContract -> unit 
public function Add(
    serviceContract : ServiceContract
)

Parametry