Condividi tramite


Metodo GetTimeSpanParameterAsInt

Assegna un parametro periodo di tempo dell'oggetto SqlSmoObject.

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

Sintassi

'Dichiarazione
Protected Friend Function GetTimeSpanParameterAsInt ( _
    buffer As StringBuilder, _
    so As ScriptingOptions, _
    propName As String, _
    sqlPropScript As String, _
    ByRef count As Integer _
) As Boolean
'Utilizzo
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.GetTimeSpanParameterAsInt(buffer, _
    so, propName, sqlPropScript, count)
protected internal bool GetTimeSpanParameterAsInt(
    StringBuilder buffer,
    ScriptingOptions so,
    string propName,
    string sqlPropScript,
    ref int count
)
protected public:
bool GetTimeSpanParameterAsInt(
    StringBuilder^ buffer, 
    ScriptingOptions^ so, 
    String^ propName, 
    String^ sqlPropScript, 
    int% count
)
member GetTimeSpanParameterAsInt : 
        buffer:StringBuilder * 
        so:ScriptingOptions * 
        propName:string * 
        sqlPropScript:string * 
        count:int byref -> bool 
 function GetTimeSpanParameterAsInt(
    buffer : StringBuilder, 
    so : ScriptingOptions, 
    propName : String, 
    sqlPropScript : String, 
    count : int
) : boolean

Parametri

Valore restituito

Tipo: System. . :: . .Boolean
Valore booleano, true se il metodo ha esito positivo. In caso contrario, false.