Condividi tramite


Instance.RegisterLocal Method (Boolean)

Registers the instance of Notification Services locally, and optionally installs the Windows service, for the Notification Services engine.

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

Sintassi

'Dichiarazione
Public Sub RegisterLocal ( _
    installService As Boolean _
)
public void RegisterLocal (
    bool installService
)
public:
void RegisterLocal (
    bool installService
)
public void RegisterLocal (
    boolean installService
)
public function RegisterLocal (
    installService : boolean
)

Parametri

  • installService
    true to install the NS$instanceName Windows service; otherwise, false.

Osservazioni

Any previously specified Microsoft SQL Server user name, password, and argument key is used when registering the instance.

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

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

Altre risorse

Distribuzione di Notification Services
Aggiornamento delle informazioni del Registro di sistema