Метод ApplicationClass.FolderExistsOnDtsServer
Этот API-интерфейс поддерживает инфраструктуру SQL Server 2012 и не предназначен для использования непосредственно из кода.
Indicates whether the specified folder already exists on the file system.
Пространство имен: Microsoft.SqlServer.Dts.Runtime.Wrapper
Сборка: Microsoft.SqlServer.DTSRuntimeWrap (в Microsoft.SqlServer.DTSRuntimeWrap.dll)
Синтаксис
'Декларация
Public Overridable Function FolderExistsOnDtsServer ( _
bstrFolderName As String, _
bstrServerName As String _
) As Boolean
'Применение
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
Параметры
- bstrFolderName
Тип: System.String
The name of the folder.
- bstrServerName
Тип: System.String
The name of the server to search for the package.
Возвращаемое значение
Тип: System.Boolean
true if the folder specified exists on the server; false if the folder does not exist.
Реализует
IDTSApplication100.FolderExistsOnDtsServer(String, String)