Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Diese API unterstützt die SQL Server 2012-Infrastruktur und ist nicht zur direkten Verwendung im Code bestimmt.
Indicates whether the specified folder already exists on the instance of SQL Server.
Namespace: Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly: Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)
Syntax
'Declaration
Public Overridable Function FolderExistsOnSQLServer ( _
bstrFolderName As String, _
bstrServerName As String, _
bstrServerUserName As String, _
bstrServerPassword As String _
) As Boolean
'Usage
Dim instance As ApplicationClass
Dim bstrFolderName As String
Dim bstrServerName As String
Dim bstrServerUserName As String
Dim bstrServerPassword As String
Dim returnValue As Boolean
returnValue = instance.FolderExistsOnSQLServer(bstrFolderName, _
bstrServerName, bstrServerUserName, _
bstrServerPassword)
public virtual bool FolderExistsOnSQLServer(
string bstrFolderName,
string bstrServerName,
string bstrServerUserName,
string bstrServerPassword
)
public:
virtual bool FolderExistsOnSQLServer(
[InAttribute] String^ bstrFolderName,
[InAttribute] String^ bstrServerName,
[InAttribute] String^ bstrServerUserName,
[InAttribute] String^ bstrServerPassword
)
abstract FolderExistsOnSQLServer :
bstrFolderName:string *
bstrServerName:string *
bstrServerUserName:string *
bstrServerPassword:string -> bool
override FolderExistsOnSQLServer :
bstrFolderName:string *
bstrServerName:string *
bstrServerUserName:string *
bstrServerPassword:string -> bool
public function FolderExistsOnSQLServer(
bstrFolderName : String,
bstrServerName : String,
bstrServerUserName : String,
bstrServerPassword : String
) : boolean
Parameter
- bstrFolderName
Typ: System.String
The name of the folder.
- bstrServerName
Typ: System.String
The name of the instance of SQL Server to search for the package.
- bstrServerUserName
Typ: System.String
The user name to authenticate against the instance of SQL Server.
- bstrServerPassword
Typ: System.String
The password for the given bstrServerUserName.
Rückgabewert
Typ: System.Boolean
true if the folder exists on the specified instance of SQL Server; false if the folder does not exist.
Implementiert
IDTSApplication100.FolderExistsOnSQLServer(String, String, String, String)