Freigeben über


AppendWithCommaText-Methode

Appends text, optionally separated by a comma.

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

Syntax

'Declaration
Protected Sub AppendWithCommaText ( _
    sb As StringBuilder, _
    optionText As String, _
    ByRef needsComma As Boolean _
)
'Usage
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
)

Parameter