다음을 통해 공유


ScriptDdl 메서드

InvalidSmoOperationException 을 발생합니다.

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

구문

‘선언
Protected Overridable Sub ScriptDdl ( _
    query As StringCollection, _
    so As ScriptingOptions _
)
‘사용 방법
Dim query As StringCollection
Dim so As ScriptingOptions

Me.ScriptDdl(query, so)
protected virtual void ScriptDdl(
    StringCollection query,
    ScriptingOptions so
)
protected:
virtual void ScriptDdl(
    StringCollection^ query, 
    ScriptingOptions^ so
)
abstract ScriptDdl : 
        query:StringCollection * 
        so:ScriptingOptions -> unit 
override ScriptDdl : 
        query:StringCollection * 
        so:ScriptingOptions -> unit 
protected function ScriptDdl(
    query : StringCollection, 
    so : ScriptingOptions
)