SQLServer.RemoteServer Object
Stops an existing subscription from a remote server.
RemoteServer.UnSubscribe (
[DatabaseName :=] idPubDatabase,
[[PublicationName :=] idPublication,]
[[ArticleName :=] idArticle] )
HRESULT pRemoteServer->UnSubscribe (
SQLOLE_LPCSTR idPubDatabase,
SQLOLE_LPCSTR idPublication = NULL,
SQLOLE_LPCSTR idArticle = NULL );
Element | Type | Description |
---|
idPubDatabase | Identifier | Database on the remote server that is publishing the article. |
idPublication | Identifier | Publication that contains the article. Default is all publications. |
idArticle | Identifier | Article in publication to unsubscribe from. Default is all articles. |
sp_unsubscribe