다음을 통해 공유


IDTSApplication100.ExistsOnDtsServer(String, String) Method

Definition

Returns a Boolean that indicates whether the specified package already exists on the Integration Services service.

public:
 bool ExistsOnDtsServer(System::String ^ bstrPackagePath, System::String ^ bstrServerName);
[System.Runtime.InteropServices.DispId(50)]
public bool ExistsOnDtsServer (string bstrPackagePath, string bstrServerName);
[<System.Runtime.InteropServices.DispId(50)>]
abstract member ExistsOnDtsServer : string * string -> bool
Public Function ExistsOnDtsServer (bstrPackagePath As String, bstrServerName As String) As Boolean

Parameters

bstrPackagePath
String

The fully qualified path of the package.

bstrServerName
String

The name of the server to search for the package.

Returns

true if the package specified by bstrPackagePath exists on the server named by bstrServerName; otherwise, false.

Attributes

Applies to