Deletes the connection that is managed by the site connection node. Namespace: Microsoft.ConfigurationManagement.AdminConsole
Assembly: Microsoft.ConfigurationManagement (in microsoft.configurationmanagement.dll)

Usage

Visual Basic
Dim sender As Object
Dim scopeNode As ScopeNode
Dim action As ActionDescription
Dim resultObject As IResultObject
Dim updateDelegate As PropertyDataUpdated
Dim status As Status

SmsSiteConnectionNode.DeleteConnection(sender, scopeNode, action, resultObject, updateDelegate, status)

Syntax

Visual Basic
Public Shared Sub DeleteConnection ( _
		sender As Object, _
		scopeNode As ScopeNode, _
		action As ActionDescription, _
		resultObject As IResultObject, _
		updateDelegate As PropertyDataUpdated, _
		status As Status _
)
C#
public static void DeleteConnection (
		Object sender,
		ScopeNode scopeNode,
		ActionDescription action,
		IResultObject resultObject,
		PropertyDataUpdated updateDelegate,
		Status status
)
C++
public:
static void DeleteConnection (
		Object^ sender, 
		ScopeNode^ scopeNode, 
		ActionDescription^ action, 
		IResultObject^ resultObject, 
		PropertyDataUpdated^ updateDelegate, 
		Status^ status
)
J#
public static void DeleteConnection (
		Object sender, 
		ScopeNode scopeNode, 
		ActionDescription action, 
		IResultObject resultObject, 
		PropertyDataUpdated updateDelegate, 
		Status status
)
JScript
public static function DeleteConnection (
		sender : Object, 
		scopeNode : ScopeNode, 
		action : ActionDescription, 
		resultObject : IResultObject, 
		updateDelegate : PropertyDataUpdated, 
		status : Status
)

Parameters

sender

[in] System.Object instance that indicates the sender of a delete event.

scopeNode

[in] Microsoft.ManagementConsole.ScopeNode object.

action

[in] ActionDescription object for the action.

resultObject

[in] IResultObject interface for getting and setting result object properties.

updateDelegate

[in] PropertyDataUpdated delegate.

status

[in] Microsoft.ManagementConsole.Status object.

Exceptions

Exception type Condition
ArgumentNullException

The scopeNode parameter cannot be null.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2003,Windows Vista

See Also