Partilhar via


Método ScriptNameObjectBase.AppendWithCommaText

Appends text, optionally separated by a comma.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
Protected Sub AppendWithCommaText ( _
    sb As StringBuilder, _
    optionText As String, _
    ByRef needsComma As Boolean _
)
'Uso
Dim sb As StringBuilder 
Dim optionText As String 
Dim needsComma As Boolean 

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

Parâmetros

Consulte também

Referência

ScriptNameObjectBase Classe

Namespace Microsoft.SqlServer.Management.Smo