JobServer.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
)
参数
- serverName
类型:System.String
A String value that specifies the name of the server.
示例
请参阅
参考
Microsoft.SqlServer.Management.Smo.Agent 命名空间