다음을 통해 공유


PipelineBuffer.TruncateStrA Method

Truncates a non-Unicode string to the specified length.

네임스페이스: Microsoft.SqlServer.Dts.Pipeline
어셈블리: Microsoft.SqlServer.PipelineHost (in microsoft.sqlserver.pipelinehost.dll)

구문

‘선언
Public Shared Function TruncateStrA ( _
    codePage As Integer, _
    addressOfString As IntPtr, _
    lengthOfString As Integer _
) As Integer
public static int TruncateStrA (
    int codePage,
    IntPtr addressOfString,
    int lengthOfString
)
public:
static int TruncateStrA (
    int codePage, 
    IntPtr addressOfString, 
    int lengthOfString
)
public static int TruncateStrA (
    int codePage, 
    IntPtr addressOfString, 
    int lengthOfString
)
public static function TruncateStrA (
    codePage : int, 
    addressOfString : IntPtr, 
    lengthOfString : int
) : int

매개 변수

  • codePage
    Code page to use for the conversion.
  • addressOfString
    Pointer to the string to truncate.
  • lengthOfString
    Length of the new, truncated string.

반환 값

An integer value that indicates whether the truncation produced a shorter string or a string of the same length.

스레드 보안

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

플랫폼

개발 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

대상 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

참고 항목

참조

PipelineBuffer Class
PipelineBuffer Members
Microsoft.SqlServer.Dts.Pipeline Namespace