Freigeben über


PolicyCategory.ISfcDroppable.ScriptDrop-Methode

Drops the script that is used to create the policy. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur.

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

Syntax

'Declaration
Private Function ScriptDrop As ISfcScript 
    Implements ISfcDroppable.ScriptDrop
'Usage
Dim instance As PolicyCategory 
Dim returnValue As ISfcScript 

returnValue = CType(instance, ISfcDroppable).ScriptDrop()
ISfcScript ISfcDroppable.ScriptDrop()
private:
virtual ISfcScript^ ScriptDrop() sealed = ISfcDroppable::ScriptDrop
private abstract ScriptDrop : unit -> ISfcScript  
private override ScriptDrop : unit -> ISfcScript
JScript unterstützt die Verwendung expliziter Schnittstellenimplementierungen, aber nicht die Deklaration neuer Schnittstellenimplementierungen.

Rückgabewert

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

Implementiert

ISfcDroppable.ScriptDrop()

Siehe auch

Verweis

PolicyCategory Klasse

Microsoft.SqlServer.Management.Dmf-Namespace