共用方式為


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

參數

  • 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)

請參閱

參考

ApplicationClass 類別

Microsoft.SqlServer.Dts.Runtime.Wrapper 命名空間