Freigeben über


Instance.RegisterLocal Method (Boolean)

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

Namespace: Microsoft.SqlServer.Management.Nmo
Assembly : Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntax

'Declaration
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
)

Parameter

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

Hinweise

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

Threadsicherheit

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.

Plattformen

Entwicklungsplattformen

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Zielplattforme

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Siehe auch

Verweis

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

Andere Ressourcen

Bereitstellen von Notification Services
Aktualisieren von Registrierungsinformationen