ScriptNameObjectBase.ThrowIfTextIsDirtyForAlter Method

Throws an exception of text has been modified and not persisted.

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

Syntax

'Declaration
Protected Sub ThrowIfTextIsDirtyForAlter
'Usage

Me.ThrowIfTextIsDirtyForAlter()
protected void ThrowIfTextIsDirtyForAlter()
protected:
void ThrowIfTextIsDirtyForAlter()
member ThrowIfTextIsDirtyForAlter : unit -> unit 
protected function ThrowIfTextIsDirtyForAlter()