Метод DistributionPublication.Remove
Removes metadata for the publication from the Distributor.
Пространство имен: Microsoft.SqlServer.Replication
Сборка: Microsoft.SqlServer.Rmo (в Microsoft.SqlServer.Rmo.dll)
Синтаксис
'Декларация
Public Sub Remove
'Применение
Dim instance As DistributionPublication
instance.Remove()
public void Remove()
public:
void Remove()
member Remove : unit -> unit
public function Remove()
Замечания
You should not call the Remove method. To delete a transactional or snapshot publication, you should instead call the Remove method on the TransPublication object.
The Remove method can only be called by members of the db_owner fixed database role on the distribution database.