Delen via


SqlSmoObject.GetParameter Method (StringBuilder, ScriptingOptions, String, String, Int32%)

Assigns a parameter of the SqlSmoObject.

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

Syntax

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

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

Parameters

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