Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Removes the specified object from the referenced collection.
Namespace: Microsoft.SqlServer.Management.Smo.Wmi
Assembly: Microsoft.SqlServer.SqlWmiManagement (in Microsoft.SqlServer.SqlWmiManagement.dll)
Syntax
'Declaration
Protected Overridable Sub Remove ( _
objname As String _
)
'Usage
Dim objname As String
Me.Remove(objname)
protected virtual void Remove(
string objname
)
protected:
virtual void Remove(
String^ objname
)
abstract Remove :
objname:string -> unit
override Remove :
objname:string -> unit
protected function Remove(
objname : String
)
Parameters
- objname
Type: System.String
A String value that specifies the name of the object to remove from the collection.
Examples
Managing Services and Network Settings by Using WMI Provider
See Also
Reference
Microsoft.SqlServer.Management.Smo.Wmi Namespace