Partilhar via


DistributorCollection.Remove Method (Distributor)

Removes the specified Distributor object from the collection.

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

Syntax

'Declaration
Public Sub Remove ( _
    distributor As Distributor _
)
public void Remove (
    Distributor distributor
)
public:
void Remove (
    Distributor^ distributor
)
public void Remove (
    Distributor distributor
)
public function Remove (
    distributor : Distributor
)

Parameters

Remarks

If you modify the application definition after creating the application, you must Update the instance to apply the changes.

Thread Safety

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

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

Other Resources

Specifying Distributor Settings
Distributor Element (ADF)