Поделиться через


Instance.UnregisterLocal Method (String)

Unregisters the named instance of Notification Services on the local computer.

Пространство имен: Microsoft.SqlServer.Management.Nmo
Сборка: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Синтаксис

'Декларация
Public Shared Sub UnregisterLocal ( _
    instanceName As String _
)
public static void UnregisterLocal (
    string instanceName
)
public:
static void UnregisterLocal (
    String^ instanceName
)
public static void UnregisterLocal (
    String instanceName
)
public static function UnregisterLocal (
    instanceName : String
)

Параметры

  • instanceName
    A String that specifies the name of the instance to unregister on the local computer.

Замечания

Unregistering an instance of Notification Services removes information about the instance from the registry, removes instance and application performance counters, and uninstalls the Microsoft Windows service, if one exists.

You can only unregister instances on the local computer.

Синхронизация потоков

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.

Платформы

Платформы разработки

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

Целевые платформы

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

См. также

Справочник

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

Другие ресурсы

Как отменить регистрацию экземпляра служб Notification Services (среда SQL Server Management Studio)
Команда nscontrol unregister