Partilhar via


Método GetStringParameter (StringBuilder, ScriptingOptions, String, String, Int32)

Atribui um parâmetro de cadeia de caracteres do objeto SqlSmoObject.

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

Sintaxe

'Declaração
Protected Friend Function GetStringParameter ( _
    buffer As StringBuilder, _
    so As ScriptingOptions, _
    propName As String, _
    sqlPropScript As String, _
    ByRef count As Integer _
) As Boolean
'Uso
Dim buffer As StringBuilder
Dim so As ScriptingOptions
Dim propName As String
Dim sqlPropScript As String
Dim count As Integer
Dim returnValue As Boolean

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

Parâmetros

  • propName
    Tipo: System. . :: . .String
    Um valor de cadeia de caracteres que especifica o nome da propriedade.

Valor de retorno

Tipo: System. . :: . .Boolean
Um valor booliano. True se o método for bem-sucedido; caso contrário, False.