Udostępnij za pośrednictwem


ScriptNameObjectBase.GetTextForScript Method (ScriptingOptions, Boolean, String[], Boolean)

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

Syntax

'Deklaracja
Protected Function GetTextForScript ( _
    so As ScriptingOptions, _
    forCreate As Boolean, _
    expectedObjectTypes As String(), _
    forceCheckNameAndManipulateIfRequired As Boolean _
) As String
protected string GetTextForScript (
    ScriptingOptions so,
    bool forCreate,
    string[] expectedObjectTypes,
    bool forceCheckNameAndManipulateIfRequired
)
protected:
String^ GetTextForScript (
    ScriptingOptions^ so, 
    bool forCreate, 
    array<String^>^ expectedObjectTypes, 
    bool forceCheckNameAndManipulateIfRequired
)
protected String GetTextForScript (
    ScriptingOptions so, 
    boolean forCreate, 
    String[] expectedObjectTypes, 
    boolean forceCheckNameAndManipulateIfRequired
)
protected function GetTextForScript (
    so : ScriptingOptions, 
    forCreate : boolean, 
    expectedObjectTypes : String[], 
    forceCheckNameAndManipulateIfRequired : boolean
) : String

Parameters

  • so
  • forCreate
  • expectedObjectTypes
  • forceCheckNameAndManipulateIfRequired

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.