ScriptNameObjectBase.AppendWithOption Yöntemi
Metnini ve ana metninden "İle" ile ayırarak seçeneği ekler dize ve isteğe bağlı olarak, virgülle ayrılmış.
Ad Alanı: Microsoft.SqlServer.Management.Smo
Derleme: Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo içinde.dll)
Sözdizimi
'Bildirim
Protected Sub AppendWithOption ( _
sb As StringBuilder, _
propName As String, _
optionText As String, _
ByRef needsComma As Boolean _
)
'Kullanım
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
)
Parametreler
- propName
Tür: System.String
String
- optionText
Tür: System.String
String
- needsComma
Tür: System.Boolean%
Bir işaretçiBoolean