共用方式為


ApplicationClass.RemoveFromDtsServer 方法

此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。

Removes a package from the specified server.

命名空間:  Microsoft.SqlServer.Dts.Runtime.Wrapper
組件:  Microsoft.SqlServer.DTSRuntimeWrap (在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)

語法

'宣告
Public Overridable Sub RemoveFromDtsServer ( _
    bstrPackagePath As String, _
    bstrServerName As String _
)
'用途
Dim instance As ApplicationClass 
Dim bstrPackagePath As String 
Dim bstrServerName As String

instance.RemoveFromDtsServer(bstrPackagePath, _
    bstrServerName)
public virtual void RemoveFromDtsServer(
    string bstrPackagePath,
    string bstrServerName
)
public:
virtual void RemoveFromDtsServer(
    [InAttribute] String^ bstrPackagePath, 
    [InAttribute] String^ bstrServerName
)
abstract RemoveFromDtsServer : 
        bstrPackagePath:string * 
        bstrServerName:string -> unit  
override RemoveFromDtsServer : 
        bstrPackagePath:string * 
        bstrServerName:string -> unit
public function RemoveFromDtsServer(
    bstrPackagePath : String, 
    bstrServerName : String
)

參數

  • bstrPackagePath
    型別:System.String
    The fully qualified path of the package.
  • bstrServerName
    型別:System.String
    The name of the server where the package is located.

實作

IDTSApplication100.RemoveFromDtsServer(String, String)

請參閱

參考

ApplicationClass 類別

Microsoft.SqlServer.Dts.Runtime.Wrapper 命名空間