Xceed .NET Libraries Documentation
Xceed.SSH.SFtp Assembly / Xceed.SSH.SFtp Namespace / SFtp Class / RenameItem Method


In This Topic
    RenameItem Method (SFtp)
    In This Topic
    Syntax
    'Declaration
     
    Public Sub RenameItem( _
       ByVal oldPath As String, _
       ByVal newPath As String, _
       ByVal flags As SFtpConstants.RenameFlags _
    ) 
    'Usage
     
    Dim instance As SFtp
    Dim oldPath As String
    Dim newPath As String
    Dim flags As SFtpConstants.RenameFlags
     
    instance.RenameItem(oldPath, newPath, flags)
    public void RenameItem( 
       string oldPath,
       string newPath,
       SFtpConstants.RenameFlags flags
    )

    Parameters

    oldPath
    newPath
    flags
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also