다음을 통해 공유


ScriptNameObjectBase.AppendWithOption 메서드

Appends text and option text separated from the main text with a “WITH” string and optionally separated by a comma.

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

구문

‘선언
Protected Sub AppendWithOption ( _
    sb As StringBuilder, _
    propName As String, _
    optionText As String, _
    ByRef needsComma As Boolean _
)
‘사용 방법
Dim sb As StringBuilder 
Dim propName As String 
Dim optionText As String 
Dim needsComma As Boolean 

Me.AppendWithOption(sb, propName, _
    optionText, needsComma)
protected void AppendWithOption(
    StringBuilder sb,
    string propName,
    string optionText,
    ref bool needsComma
)
protected:
void AppendWithOption(
    StringBuilder^ sb, 
    String^ propName, 
    String^ optionText, 
    bool% needsComma
)
member AppendWithOption : 
        sb:StringBuilder * 
        propName:string * 
        optionText:string * 
        needsComma:bool byref -> unit
protected function AppendWithOption(
    sb : StringBuilder, 
    propName : String, 
    optionText : String, 
    needsComma : boolean
)

매개 변수

참고 항목

참조

ScriptNameObjectBase 클래스

Microsoft.SqlServer.Management.Smo 네임스페이스