xSQL Schema Compare SDK for SQL Server version 12
GetAlterDefinition Method


Indicates whether the object name in the definition should be formatted as [schema].[name]; if false, the object name is left untouched.
Returns a definition that can be used to alter the object.
Syntax
'Declaration
 
Public Function GetAlterDefinition( _
   ByVal standardizeName As System.Boolean _
) As System.String
public System.string GetAlterDefinition( 
   System.bool standardizeName
)
public: System.string* GetAlterDefinition( 
   System.bool standardizeName
) 

Parameters

standardizeName
Indicates whether the object name in the definition should be formatted as [schema].[name]; if false, the object name is left untouched.

Return Value

A string that contains the formatted definition.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

SqlDefinition Class
SqlDefinition Members

 

 


©Copyright 2022 xSQL Software. All Rights Reserved.

Send Feedback