PolicyCategory.ISfcAlterable.ScriptAlter Method

Alters the script that is used to create the policy. Do not reference this member directly in your code. It supports the SQL Server infrastructure..

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

Syntax

'Declaration
Private Function ScriptAlter As ISfcScript 
    Implements ISfcAlterable.ScriptAlter
'Usage
Dim instance As PolicyCategory 
Dim returnValue As ISfcScript 

returnValue = CType(instance, ISfcAlterable).ScriptAlter()
ISfcScript ISfcAlterable.ScriptAlter()
private:
virtual ISfcScript^ ScriptAlter() sealed = ISfcAlterable::ScriptAlter
private abstract ScriptAlter : unit -> ISfcScript  
private override ScriptAlter : unit -> ISfcScript
JScript supports the use of explicit interface implementations, but not the declarations of new ones.

Return Value

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

Implements

ISfcAlterable.ScriptAlter()

See Also

Reference

PolicyCategory Class

Microsoft.SqlServer.Management.Dmf Namespace