ScriptNameObjectBase.AppendWithOption Method
SQL Server 2012
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)
protected void AppendWithOption( StringBuilder sb, string propName, string optionText, ref bool needsComma )
Parameters
- propName
- Type: System.String
String
- optionText
- Type: System.String
String
- needsComma
- Type: System.Boolean
A pointer to Boolean
