GetTextForScript 메서드 (ScriptingOptions, Boolean, String[])
Gets the text for scripting.
네임스페이스: Microsoft.SqlServer.Management.Smo
어셈블리: Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)
구문
‘선언
Protected Function GetTextForScript ( _
so As ScriptingOptions, _
forCreate As Boolean, _
expectedObjectTypes As String() _
) As String
‘사용 방법
Dim so As ScriptingOptions
Dim forCreate As Boolean
Dim expectedObjectTypes As String()
Dim returnValue As String
returnValue = Me.GetTextForScript(so, _
forCreate, expectedObjectTypes)
protected string GetTextForScript(
ScriptingOptions so,
bool forCreate,
string[] expectedObjectTypes
)
protected:
String^ GetTextForScript(
ScriptingOptions^ so,
bool forCreate,
array<String^>^ expectedObjectTypes
)
member GetTextForScript :
so:ScriptingOptions *
forCreate:bool *
expectedObjectTypes:string[] -> string
protected function GetTextForScript(
so : ScriptingOptions,
forCreate : boolean,
expectedObjectTypes : String[]
) : String
매개 변수
- so
유형: Microsoft.SqlServer.Management.Smo. . :: . .ScriptingOptions
A ScriptingOptions object value that specifies the scripting options used for scripting the text.
- forCreate
유형: System. . :: . .Boolean
A Boolean value that specifies whether the text is used in the creation of an object.
If True, the text is used for the creation of an object. Otherwise, False.
- expectedObjectTypes
유형: array<System. . :: . .String> [] () [] []
A String array that specifies the expected object types.
반환 값
유형: System. . :: . .String
A String value that specifies the text for scripting.