Delen via


SqlSmoObject.GetBoolParameter Method (StringBuilder, ScriptingOptions, String, String, Int32%, Boolean)

Assigns a Boolean property of the SqlSmoObject.

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

Syntax

'Declaration
Protected Friend Sub GetBoolParameter ( _
    buffer As StringBuilder, _
    so As ScriptingOptions, _
    propName As String, _
    sqlPropScript As String, _
    ByRef count As Integer, _
    valueAsTrueFalse As Boolean _
)
'Usage
Dim buffer As StringBuilder
Dim so As ScriptingOptions
Dim propName As String
Dim sqlPropScript As String
Dim count As Integer
Dim valueAsTrueFalse As Boolean

Me.GetBoolParameter(buffer, so, propName, _
    sqlPropScript, count, valueAsTrueFalse)
protected internal void GetBoolParameter(
    StringBuilder buffer,
    ScriptingOptions so,
    string propName,
    string sqlPropScript,
    ref int count,
    bool valueAsTrueFalse
)
protected public:
void GetBoolParameter(
    StringBuilder^ buffer, 
    ScriptingOptions^ so, 
    String^ propName, 
    String^ sqlPropScript, 
    int% count, 
    bool valueAsTrueFalse
)
member GetBoolParameter : 
        buffer:StringBuilder * 
        so:ScriptingOptions * 
        propName:string * 
        sqlPropScript:string * 
        count:int byref * 
        valueAsTrueFalse:bool -> unit 
 function GetBoolParameter(
    buffer : StringBuilder, 
    so : ScriptingOptions, 
    propName : String, 
    sqlPropScript : String, 
    count : int, 
    valueAsTrueFalse : boolean
)

Parameters

  • propName
    Type: System.String
    A string value that specifies the property name.
  • sqlPropScript
    Type: System.String
    A string value that specifies the script.