Compartir a través de


ApplicationClass.ExistsOnDtsServer Método

Esta API admite la infraestructura de SQL Server 2012 y no está prevista su utilización directa desde el código.

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

Espacio de nombres:  Microsoft.SqlServer.Dts.Runtime.Wrapper
Ensamblado:  Microsoft.SqlServer.DTSRuntimeWrap (en Microsoft.SqlServer.DTSRuntimeWrap.dll)

Sintaxis

'Declaración
Public Overridable Function ExistsOnDtsServer ( _
    bstrPackagePath As String, _
    bstrServerName As String _
) As Boolean
'Uso
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

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 devuelto

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

Implementa

IDTSApplication100.ExistsOnDtsServer(String, String)

Vea también

Referencia

ApplicationClass Clase

Espacio de nombres Microsoft.SqlServer.Dts.Runtime.Wrapper