Sdílet prostřednictvím


Policy.ScriptDrop Method

Drops the script that is used to create the policy.

Namespace:  Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)

Syntax

'Declaration
Public Function ScriptDrop As ISfcScript
'Usage
Dim instance As Policy 
Dim returnValue As ISfcScript 

returnValue = instance.ScriptDrop()
public ISfcScript ScriptDrop()
public:
virtual ISfcScript^ ScriptDrop() sealed
abstract ScriptDrop : unit -> ISfcScript  
override ScriptDrop : unit -> ISfcScript
public final function ScriptDrop() : ISfcScript

Return Value

Type: Microsoft.SqlServer.Management.Sdk.Sfc.ISfcScript
An ISfcScript object that contains the dropped script.

Implements

ISfcDroppable.ScriptDrop()

See Also

Reference

Policy Class

Microsoft.SqlServer.Management.Dmf Namespace