다음을 통해 공유


GetDateTimeParameterAsInt 메서드

datetime 속성이 Null이 아닐 경우 SqlSmoObject의 datetime 속성을 정수 값으로 지정합니다.

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

구문

‘선언
Protected Friend Function GetDateTimeParameterAsInt ( _
    buffer As StringBuilder, _
    so As ScriptingOptions, _
    propName As String, _
    sqlPropScript As String, _
    ByRef count As Integer _
) As Boolean
‘사용 방법
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.GetDateTimeParameterAsInt(buffer, _
    so, propName, sqlPropScript, count)
protected internal bool GetDateTimeParameterAsInt(
    StringBuilder buffer,
    ScriptingOptions so,
    string propName,
    string sqlPropScript,
    ref int count
)
protected public:
bool GetDateTimeParameterAsInt(
    StringBuilder^ buffer, 
    ScriptingOptions^ so, 
    String^ propName, 
    String^ sqlPropScript, 
    int% count
)
member GetDateTimeParameterAsInt : 
        buffer:StringBuilder * 
        so:ScriptingOptions * 
        propName:string * 
        sqlPropScript:string * 
        count:int byref -> bool 
 function GetDateTimeParameterAsInt(
    buffer : StringBuilder, 
    so : ScriptingOptions, 
    propName : String, 
    sqlPropScript : String, 
    count : int
) : boolean

매개 변수

반환 값

유형: System. . :: . .Boolean
속성이 할당되었는지 여부를 나타내는 부울 값입니다. 속성이 Null이 아니고 할당되었으면 True이고, 그렇지 않으면 False입니다.