Compartilhar via


Método IDTSApplication100.ExistsOnDtsServer

Essa API oferece suporte à infraestrutura do SQL Server 2012 e não se destina a ser usada diretamente no seu código.

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

Namespace:  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly:  Microsoft.SqlServer.DTSRuntimeWrap (em Microsoft.SqlServer.DTSRuntimeWrap.dll)

Sintaxe

'Declaração
Function ExistsOnDtsServer ( _
    bstrPackagePath As String, _
    bstrServerName As String _
) As Boolean
'Uso
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

Parâmetros

  • bstrPackagePath
    Tipo: System.String
    The fully qualified path of the package.
  • bstrServerName
    Tipo: System.String
    The name of the server to search for the package.

Valor de retorno

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

Consulte também

Referência

IDTSApplication100 Interface

Namespace Microsoft.SqlServer.Dts.Runtime.Wrapper