Partilhar via


RuleObject.Clone Method

Creates a deep copy of the RuleObject object graph.

Namespace: Microsoft.SqlServer.NotificationServices.Rules
Assembly: Microsoft.SqlServer.NotificationServices.Rules (in microsoft.sqlserver.notificationservices.rules.dll)

Syntax

'Declaration
Public Function Clone As RuleObject
public RuleObject Clone ()
public:
RuleObject^ Clone ()
public RuleObject Clone ()
public function Clone () : RuleObject

Return Value

A RuleObject object that is a deep copy of the object graph.

Remarks

Only RuleObject objects in the graph are cloned. A reference copy is performed for all other types.

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

RuleObject Class
RuleObject Members
Microsoft.SqlServer.NotificationServices.Rules Namespace