다음을 통해 공유


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 네임스페이스