이 API는 SQL Server 2012 인프라를 지원하기 위한 것으로 코드에서 직접 사용할 수 없습니다.
Returns a Boolean that indicates whether the specified package already exists on the Integration Services service.
네임스페이스: Microsoft.SqlServer.Dts.Runtime.Wrapper
어셈블리: Microsoft.SqlServer.DTSRuntimeWrap(Microsoft.SqlServer.DTSRuntimeWrap.dll)
구문
‘선언
Function ExistsOnDtsServer ( _
bstrPackagePath As String, _
bstrServerName As String _
) As Boolean
‘사용 방법
Dim instance As IDTSApplication100
Dim bstrPackagePath As String
Dim bstrServerName As String
Dim returnValue As Boolean
returnValue = instance.ExistsOnDtsServer(bstrPackagePath, _
bstrServerName)
bool ExistsOnDtsServer(
string bstrPackagePath,
string bstrServerName
)
bool ExistsOnDtsServer(
[InAttribute] String^ bstrPackagePath,
[InAttribute] String^ bstrServerName
)
abstract ExistsOnDtsServer :
bstrPackagePath:string *
bstrServerName:string -> bool
function ExistsOnDtsServer(
bstrPackagePath : String,
bstrServerName : String
) : boolean
매개 변수
- bstrPackagePath
유형: System.String
The fully qualified path of the package.
- bstrServerName
유형: System.String
The name of the server to search for the package.
반환 값
유형: System.Boolean
true if the package specified by bstrPackagePath exists on the server named by bstrServerName; otherwise, false.