Udostępnij przez


Metoda IDTSApplication100.ExistsOnDtsServer

Ten interfejs API obsługuje infrastrukturę programu i nie jest przeznaczony do użycia bezpośrednio w kodzie.

Aby uzyskać więcej informacji, zobacz temat ApplicationClass.

Przestrzeń nazw:  Microsoft.SqlServer.Dts.Runtime.Wrapper
Zestaw:  Microsoft.SqlServer.DTSRuntimeWrap (w Microsoft.SqlServer.DTSRuntimeWrap.dll)

Składnia

'Deklaracja
Function ExistsOnDtsServer ( _
    bstrPackagePath As String, _
    bstrServerName As String _
) As Boolean
'Użycie
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

Parametry

Wartość zwracana

Typ: System.Boolean