ApplicationClass.FolderExistsOnDtsServer Method
This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.
Indicates whether the specified folder already exists on the file system.
Namespace: Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly: Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)
Syntax
'Declaration
Public Overridable Function FolderExistsOnDtsServer ( _
bstrFolderName As String, _
bstrServerName As String _
) As Boolean
'Usage
Dim instance As ApplicationClass
Dim bstrFolderName As String
Dim bstrServerName As String
Dim returnValue As Boolean
returnValue = instance.FolderExistsOnDtsServer(bstrFolderName, _
bstrServerName)
public virtual bool FolderExistsOnDtsServer(
string bstrFolderName,
string bstrServerName
)
public:
virtual bool FolderExistsOnDtsServer(
[InAttribute] String^ bstrFolderName,
[InAttribute] String^ bstrServerName
)
abstract FolderExistsOnDtsServer :
bstrFolderName:string *
bstrServerName:string -> bool
override FolderExistsOnDtsServer :
bstrFolderName:string *
bstrServerName:string -> bool
public function FolderExistsOnDtsServer(
bstrFolderName : String,
bstrServerName : String
) : boolean
Parameters
- bstrFolderName
Type: System.String
The name of the folder.
- bstrServerName
Type: System.String
The name of the server to search for the package.
Return Value
Type: System.Boolean
true if the folder specified exists on the server; false if the folder does not exist.
Implements
IDTSApplication100.FolderExistsOnDtsServer(String, String)