Condividi tramite


Metodo GetParameter (StringBuilder, ScriptingOptions, String, String, Int32, Boolean)

Assegna un parametro dell'oggetto SqlSmoObject.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Protected Friend Sub GetParameter ( _
    buffer As StringBuilder, _
    so As ScriptingOptions, _
    propName As String, _
    sqlPropScript As String, _
    ByRef count As Integer, _
    throwIfNotSet As Boolean _
)
'Utilizzo
Dim buffer As StringBuilder
Dim so As ScriptingOptions
Dim propName As String
Dim sqlPropScript As String
Dim count As Integer
Dim throwIfNotSet As Boolean

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

Parametri

  • throwIfNotSet
    Tipo: System. . :: . .Boolean
    Valore booleano che indica se generare un'eccezione se il parametro non è stato impostato.