Share via


ApplicationClass.FolderFromPath Method

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Returns a folder from a specified path.

Namespace:  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly:  Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)

Syntax

'Declaration
Public Overridable Function FolderFromPath ( _
    bstrFolderName As String, _
    bstrServerName As String, _
    bstrServerUserName As String, _
    bstrServerPassword As String _
) As Guid
'Usage
Dim instance As ApplicationClass 
Dim bstrFolderName As String 
Dim bstrServerName As String 
Dim bstrServerUserName As String 
Dim bstrServerPassword As String 
Dim returnValue As Guid 

returnValue = instance.FolderFromPath(bstrFolderName, _
    bstrServerName, bstrServerUserName, _
    bstrServerPassword)
public virtual Guid FolderFromPath(
    string bstrFolderName,
    string bstrServerName,
    string bstrServerUserName,
    string bstrServerPassword
)
public:
virtual Guid FolderFromPath(
    [InAttribute] String^ bstrFolderName, 
    [InAttribute] String^ bstrServerName, 
    [InAttribute] String^ bstrServerUserName, 
    [InAttribute] String^ bstrServerPassword
)
abstract FolderFromPath : 
        bstrFolderName:string * 
        bstrServerName:string * 
        bstrServerUserName:string * 
        bstrServerPassword:string -> Guid  
override FolderFromPath : 
        bstrFolderName:string * 
        bstrServerName:string * 
        bstrServerUserName:string * 
        bstrServerPassword:string -> Guid
public function FolderFromPath(
    bstrFolderName : String, 
    bstrServerName : String, 
    bstrServerUserName : String, 
    bstrServerPassword : String
) : Guid

Parameters

  • bstrServerName
    Type: System.String
    The name of the instance of SQL Server to search for the package.
  • bstrServerUserName
    Type: System.String
    The user name to authenticate against the instance of SQL Server.
  • bstrServerPassword
    Type: System.String
    The password for the given bstrServerUserName.

Return Value

Type: System.Guid
A folder from a specified path.

Implements

IDTSApplication100.FolderFromPath(String, String, String, String)

See Also

Reference

ApplicationClass Class

Microsoft.SqlServer.Dts.Runtime.Wrapper Namespace