Share via


ScriptNameObjectBase.GetScriptIncludeExists Method

Gets the script including the test for existence of type being scripted.

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

Syntax

'Declaration
Protected Overridable Function GetScriptIncludeExists ( _
    so As ScriptingOptions, _
    tableName As String, _
    forCreate As Boolean _
) As String
'Usage
Dim so As ScriptingOptions
Dim tableName As String
Dim forCreate As Boolean
Dim returnValue As String

returnValue = Me.GetScriptIncludeExists(so, _
    tableName, forCreate)
protected virtual string GetScriptIncludeExists(
    ScriptingOptions so,
    string tableName,
    bool forCreate
)
protected:
virtual String^ GetScriptIncludeExists(
    ScriptingOptions^ so, 
    String^ tableName, 
    bool forCreate
)
abstract GetScriptIncludeExists : 
        so:ScriptingOptions * 
        tableName:string * 
        forCreate:bool -> string 
override GetScriptIncludeExists : 
        so:ScriptingOptions * 
        tableName:string * 
        forCreate:bool -> string 
protected function GetScriptIncludeExists(
    so : ScriptingOptions, 
    tableName : String, 
    forCreate : boolean
) : String

Return Value

Type: System.String
String