Delen via


ScriptNameObjectBase.AppendCommaText Method

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 AppendCommaText ( _
    sb As StringBuilder, _
    optionText As String, _
    ByRef needsComma As Boolean, _
    beginWord As String _
)
'Usage
Dim sb As StringBuilder
Dim optionText As String
Dim needsComma As Boolean
Dim beginWord As String

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

Parameters