ScriptNameObjectBase.AppendWithOption Method (StringBuilder, String, String, Boolean)

 

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

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

member AppendWithOption : 
        sb:StringBuilder *
        propName:string *
        optionText:string *
        needsComma:bool byref -> unit

Parameters

sb
Type: System.Text.StringBuilder

The string builder.

propName
Type: System.String

The property name.

optionText
Type: System.String

The option text.

needsComma
Type: System.Boolean

true if the text needs comma; otherwise, false.

Return to top
Show: