(String, SPWebApplication, SPServer, SPJobLockType) del constructor SPJobDefinition
Inicializa una nueva instancia de la clase SPJobDefinition y proporciona parámetros para especificar los objetos de clave.
Espacio de nombres: Microsoft.SharePoint.Administration
Ensamblado: Microsoft.SharePoint (en Microsoft.SharePoint.dll)
Sintaxis
'Declaración
Protected Sub New ( _
name As String, _
webApplication As SPWebApplication, _
server As SPServer, _
lockType As SPJobLockType _
)
'Uso
Dim name As String
Dim webApplication As SPWebApplication
Dim server As SPServer
Dim lockType As SPJobLockType
Dim instance As New SPJobDefinition(name, webApplication, _
server, lockType)
protected SPJobDefinition(
string name,
SPWebApplication webApplication,
SPServer server,
SPJobLockType lockType
)
Parámetros
name
Tipo: System.StringEspecifica el nombre de la definición del trabajo.
webApplication
Tipo: Microsoft.SharePoint.Administration.SPWebApplicationEspecifica una instancia del objeto SPWebApplication .
server
Tipo: Microsoft.SharePoint.Administration.SPServerEspecifica una instancia del objeto SPServer .
lockType
Tipo: Microsoft.SharePoint.Administration.SPJobLockTypeEspecifica un valor de enumeración de la enumeración SPJobLockType .