Condividi tramite


DistributorCollection.Enable Method ()

Enables all distributors for the Notification Services application.

Spazio dei nomi: Microsoft.SqlServer.Management.Nmo
Assembly : Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Sintassi

'Dichiarazione
Public Sub Enable
public void Enable ()
public:
void Enable ()
public void Enable ()
public function Enable ()

Osservazioni

When you create an application, its distributors are disabled.

Enabling distributors allows them to format and distribute notifications. Use the Distributor.Enable method to enable a single distributor.

Use the Disable method to disable distributors.

Thread Safety

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

Piattaforme

Piattaforme di sviluppo

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Piattaforme di destinazione

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Vedere anche

Riferimento

DistributorCollection Class
DistributorCollection Members
Microsoft.SqlServer.Management.Nmo Namespace

Altre risorse

Attivazione e disattivazione di istanze, applicazioni o componenti