ScriptNameObjectBase.AppendWithOption 方法
Appends text and option text separated from the main text with a “WITH” string and optionally separated by a comma.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Protected Sub AppendWithOption ( _
sb As StringBuilder, _
propName As String, _
optionText As String, _
ByRef needsComma As Boolean _
)
用法
Dim sb As StringBuilder
Dim propName As String
Dim optionText As String
Dim needsComma As Boolean
Me.AppendWithOption(sb, propName, _
optionText, needsComma)
protected void AppendWithOption(
StringBuilder sb,
string propName,
string optionText,
ref bool needsComma
)
protected:
void AppendWithOption(
StringBuilder^ sb,
String^ propName,
String^ optionText,
bool% needsComma
)
member AppendWithOption :
sb:StringBuilder *
propName:string *
optionText:string *
needsComma:bool byref -> unit
protected function AppendWithOption(
sb : StringBuilder,
propName : String,
optionText : String,
needsComma : boolean
)
参数
- propName
类型:System.String
String
- optionText
类型:System.String
String
- needsComma
类型:System.Boolean%
A pointer to Boolean