다음을 통해 공유


GetParameter 메서드 (StringBuilder, ScriptingOptions, String, String, Int32, Boolean)

SqlSmoObject 의 매개 변수를 할당합니다.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
Protected Friend Sub GetParameter ( _
    buffer As StringBuilder, _
    so As ScriptingOptions, _
    propName As String, _
    sqlPropScript As String, _
    ByRef count As Integer, _
    throwIfNotSet As Boolean _
)
‘사용 방법
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
)

매개 변수

  • throwIfNotSet
    유형: System. . :: . .Boolean
    매개 변수가 설정되지 않았을 경우 예외를 발생시킬지 여부를 나타내는 부울 값입니다.