Sdílet prostřednictvím


Policy.ScriptAlter Method

Alters 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 ScriptAlter As ISfcScript
'Usage
Dim instance As Policy 
Dim returnValue As ISfcScript 

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

Return Value

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

Implements

ISfcAlterable.ScriptAlter()

See Also

Reference

Policy Class

Microsoft.SqlServer.Management.Dmf Namespace