GetTextForScript 方法 (ScriptingOptions, Boolean, String[], Boolean)

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Protected Function GetTextForScript ( _
    so As ScriptingOptions, _
    forCreate As Boolean, _
    expectedObjectTypes As String(), _
    forceCheckNameAndManipulateIfRequired As Boolean _
) As String
用法
Dim so As ScriptingOptions
Dim forCreate As Boolean
Dim expectedObjectTypes As String()
Dim forceCheckNameAndManipulateIfRequired As Boolean
Dim returnValue As String

returnValue = Me.GetTextForScript(so, _
    forCreate, expectedObjectTypes, _
    forceCheckNameAndManipulateIfRequired)
protected string GetTextForScript(
    ScriptingOptions so,
    bool forCreate,
    string[] expectedObjectTypes,
    bool forceCheckNameAndManipulateIfRequired
)
protected:
String^ GetTextForScript(
    ScriptingOptions^ so, 
    bool forCreate, 
    array<String^>^ expectedObjectTypes, 
    bool forceCheckNameAndManipulateIfRequired
)
member GetTextForScript : 
        so:ScriptingOptions * 
        forCreate:bool * 
        expectedObjectTypes:string[] * 
        forceCheckNameAndManipulateIfRequired:bool -> string 
protected function GetTextForScript(
    so : ScriptingOptions, 
    forCreate : boolean, 
    expectedObjectTypes : String[], 
    forceCheckNameAndManipulateIfRequired : boolean
) : String

参数

返回值

类型:System. . :: . .String