Export (0) Print
Expand All

ScriptNameObjectBase.AppendWithOption Method

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)

'Declaration
Protected Sub AppendWithOption ( _
	sb As StringBuilder, _
	propName As String, _
	optionText As String, _
	ByRef needsComma As Boolean _
)
'Usage
Dim sb As StringBuilder 
Dim propName As String 
Dim optionText As String 
Dim needsComma As Boolean 

Me.AppendWithOption(sb, propName, _
	optionText, needsComma)

Parameters

sb
Type: StringBuilder
StringBuilder
propName
Type: String
String
optionText
Type: String
String
needsComma
Type: Boolean
A pointer to Boolean
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft