Freigeben über


SubscriptionClassCollection.Remove Method (SubscriptionClass)

Removes the specified SubscriptionClass object from the collection.

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

Syntax

'Declaration
Public Sub Remove ( _
    subscriptionClass As SubscriptionClass _
)
public void Remove (
    SubscriptionClass subscriptionClass
)
public:
void Remove (
    SubscriptionClass^ subscriptionClass
)
public void Remove (
    SubscriptionClass subscriptionClass
)
public function Remove (
    subscriptionClass : SubscriptionClass
)

Parameter

  • subscriptionClass
    Removes the specified SubscriptionClass object from the collection.

Hinweise

If you remove a subscription class from a deployed application, updating the instance removes the subscription class and renames the existing subscription tables by appending Old to the table name. Existing subscription table indexes are left unchanged.

Use the Update method to update the instance and apply the changes.

If you want to transfer data between the old and new subscription tables, it must be done manually. For more information, see Aktualisieren einer Anwendung.

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

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

Andere Ressourcen

Definieren von Abonnementklassen
SubscriptionClass Element (ADF)