共用方式為


DropJobsByServer 方法

Removes the job with the specified server.

命名空間:  Microsoft.SqlServer.Management.Smo.Agent
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Sub DropJobsByServer ( _
    serverName As String _
)
'用途
Dim instance As JobServer
Dim serverName As String

instance.DropJobsByServer(serverName)
public void DropJobsByServer(
    string serverName
)
public:
void DropJobsByServer(
    String^ serverName
)
member DropJobsByServer : 
        serverName:string -> unit 
public function DropJobsByServer(
    serverName : String
)

參數