Partilhar via


Método ExistsOnSQLServer

Esta API tem suporte para a infraestrutura do .NET Framework e não deve ser usada diretamente do seu código.

For more information, see Application.

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

Sintaxe

'Declaração
Public Overridable Function ExistsOnSQLServer ( _
    bstrPackagePath As String, _
    bstrServerName As String, _
    bstrServerUserName As String, _
    bstrServerPassword As String _
) As Boolean
'Uso
Dim instance As ApplicationClass
Dim bstrPackagePath As String
Dim bstrServerName As String
Dim bstrServerUserName As String
Dim bstrServerPassword As String
Dim returnValue As Boolean

returnValue = instance.ExistsOnSQLServer(bstrPackagePath, _
    bstrServerName, bstrServerUserName, _
    bstrServerPassword)
public virtual bool ExistsOnSQLServer(
    string bstrPackagePath,
    string bstrServerName,
    string bstrServerUserName,
    string bstrServerPassword
)
public:
virtual bool ExistsOnSQLServer(
    [InAttribute] String^ bstrPackagePath, 
    [InAttribute] String^ bstrServerName, 
    [InAttribute] String^ bstrServerUserName, 
    [InAttribute] String^ bstrServerPassword
)
abstract ExistsOnSQLServer : 
        bstrPackagePath:string * 
        bstrServerName:string * 
        bstrServerUserName:string * 
        bstrServerPassword:string -> bool 
override ExistsOnSQLServer : 
        bstrPackagePath:string * 
        bstrServerName:string * 
        bstrServerUserName:string * 
        bstrServerPassword:string -> bool 
public function ExistsOnSQLServer(
    bstrPackagePath : String, 
    bstrServerName : String, 
    bstrServerUserName : String, 
    bstrServerPassword : String
) : boolean

Parâmetros

Valor de retorno

Tipo: System. . :: . .Boolean

Implementa

IDTSApplication100. . :: . .ExistsOnSQLServer(String, String, String, String)