다음을 통해 공유


EnumScript 메서드 (ScriptingOptions)

전달된 개체에 대한 스크립트를 포함하는 IEnumerable<string> 개체를 반환합니다.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
Public Function EnumScript ( _
    scriptingOptions As ScriptingOptions _
) As IEnumerable(Of String)
‘사용 방법
Dim instance As Table
Dim scriptingOptions As ScriptingOptions
Dim returnValue As IEnumerable(Of String)

returnValue = instance.EnumScript(scriptingOptions)
public IEnumerable<string> EnumScript(
    ScriptingOptions scriptingOptions
)
public:
IEnumerable<String^>^ EnumScript(
    ScriptingOptions^ scriptingOptions
)
member EnumScript : 
        scriptingOptions:ScriptingOptions -> IEnumerable<string> 
public function EnumScript(
    scriptingOptions : ScriptingOptions
) : IEnumerable<String>

반환 값

유형: System.Collections.Generic. . :: . .IEnumerable< (Of < ( <'String> ) > ) >
[T:System.Collections.Generic.IEnumerable<T>] 인터페이스입니다.

주의

The scriptingOptions parameter is used to determine whether the schema and the data are included in the script.