Метод ApplicationClass.ExistsOnDtsServer
Этот 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)
Синтаксис
'Декларация
Public Overridable Function ExistsOnDtsServer ( _
bstrPackagePath As String, _
bstrServerName As String _
) As Boolean
'Применение
Dim instance As ApplicationClass
Dim bstrPackagePath As String
Dim bstrServerName As String
Dim returnValue As Boolean
returnValue = instance.ExistsOnDtsServer(bstrPackagePath, _
bstrServerName)
public virtual bool ExistsOnDtsServer(
string bstrPackagePath,
string bstrServerName
)
public:
virtual bool ExistsOnDtsServer(
[InAttribute] String^ bstrPackagePath,
[InAttribute] String^ bstrServerName
)
abstract ExistsOnDtsServer :
bstrPackagePath:string *
bstrServerName:string -> bool
override ExistsOnDtsServer :
bstrPackagePath:string *
bstrServerName:string -> bool
public 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.
Реализует
IDTSApplication100.ExistsOnDtsServer(String, String)