Compartir a través de


IDTSApplication100.FolderFromPath Método

Esta API admite la infraestructura de SQL Server 2012 y no está prevista su utilización directa desde el código.

Returns a Boolean that indicates whether the specified folder already exists on the file system.

Espacio de nombres:  Microsoft.SqlServer.Dts.Runtime.Wrapper
Ensamblado:  Microsoft.SqlServer.DTSRuntimeWrap (en Microsoft.SqlServer.DTSRuntimeWrap.dll)

Sintaxis

'Declaración
Function FolderFromPath ( _
    bstrFolderName As String, _
    bstrServerName As String, _
    bstrServerUserName As String, _
    bstrServerPassword As String _
) As Guid
'Uso
Dim instance As IDTSApplication100 
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)
Guid FolderFromPath(
    string bstrFolderName,
    string bstrServerName,
    string bstrServerUserName,
    string bstrServerPassword
)
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
function FolderFromPath(
    bstrFolderName : String, 
    bstrServerName : String, 
    bstrServerUserName : String, 
    bstrServerPassword : String
) : Guid

Parámetros

  • bstrFolderName
    Tipo: System.String
    The folder you are looking for.
  • bstrServerName
    Tipo: System.String
    The name of the server to search for the folder.
  • bstrServerUserName
    Tipo: System.String
    The user name to authenticate against the instance of bstrServerName.
  • bstrServerPassword
    Tipo: System.String
    The password for the given bstrServerUserName.

Valor devuelto

Tipo: System.Guid
true if the folder exists on the specified instance of bstrServerName; false if the folder does not exist.

Vea también

Referencia

IDTSApplication100 Interfaz

Espacio de nombres Microsoft.SqlServer.Dts.Runtime.Wrapper