Share via


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
)

Parameters

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

Remarks

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

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

Other Resources

Deploying Notification Services
Updating Registry Information