SPServerJobDefinition Constructor (String, SPServer)
Initializes a new instance of the [Microsoft.SharePoint.Administration.SPServerJobDefinition] class called name on the given server.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Protected Sub New ( _
name As String, _
server As SPServer _
)
'Usage
Dim name As String
Dim server As SPServer
Dim instance As New SPServerJobDefinition(name, server)
protected SPServerJobDefinition(
string name,
SPServer server
)
Parameters
name
Type: System.StringName of the new job definition.
server
Type: Microsoft.SharePoint.Administration.SPServerTarget server for the new job definition.