Compartir a través de


SubscriptionClassCollection.Remove Method (SubscriptionClass)

Removes the specified SubscriptionClass object from the collection.

Espacio de nombres: Microsoft.SqlServer.Management.Nmo
Ensamblado: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Sintaxis

'Declaración
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
)

Parámetros

  • subscriptionClass
    Removes the specified SubscriptionClass object from the collection.

Notas

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 Actualizar una aplicación.

Seguridad para subprocesos

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.

Plataformas

Plataformas de desarrollo

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Plataformas de destino

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Vea también

Referencia

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

Otros recursos

Definir clases de suscripción
SubscriptionClass Element (ADF)