Clase JobServer
The JobServer object represents the SQL Server Agent subsystem and the msdb database.
Jerarquía de herencia
System. . :: . .Object
Microsoft.SqlServer.Management.Smo. . :: . .SmoObjectBase
Microsoft.SqlServer.Management.Smo. . :: . .SqlSmoObject
Microsoft.SqlServer.Management.Smo.Agent..::..JobServer
Espacio de nombres: Microsoft.SqlServer.Management.Smo.Agent
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
Public NotInheritable Class JobServer _
Inherits SqlSmoObject _
Implements IAlterable, IScriptable
'Uso
Dim instance As JobServer
public sealed class JobServer : SqlSmoObject,
IAlterable, IScriptable
public ref class JobServer sealed : public SqlSmoObject,
IAlterable, IScriptable
[<SealedAttribute>]
type JobServer =
class
inherit SqlSmoObject
interface IAlterable
interface IScriptable
end
public final class JobServer extends SqlSmoObject implements IAlterable, IScriptable
El tipo JobServer expone los siguientes miembros.
Propiedades
Nombre | Descripción | |
---|---|---|
![]() |
AgentDomainGroup | Gets the SQL Server Agent domain group. |
![]() |
AgentLogLevel | Gets or sets the type of messages that are logged by SQL Server Agent. |
![]() |
AgentMailType | Gets or sets the mail type for SQL Server Agent. |
![]() |
AgentShutdownWaitTime | Gets or sets the time that SQL Server Agent waits for jobs to complete execution before shutting down. |
![]() |
AlertCategories | Represents a collection of AlertCategory objects. Each AlertCategory object represents an alert category defined on SQL Server Agent. |
![]() |
Alerts | Represents a collection of Alert objects. Each Alert object represents an alert defined on SQL Server Agent. |
![]() |
AlertSystem | The AlertSystem object stores information that applies to all the alerts defined on SQL Server Agent. |
![]() |
DatabaseMailProfile | Gets or sets a Database Mail profile. |
![]() |
ErrorLogFile | Gets or sets the name and path of the file in which SQL Server Agent records errors. |
![]() |
ExecuteForScalar | Obtiene o establece el valor de propiedad Boolean que especifica si el objeto está establecido para que se ejecute para la opción escalar. (Se hereda de SqlSmoObject.) |
![]() |
HostLoginName | Gets or sets the login used to log in to SQL Server. |
![]() |
IdleCpuDuration | Gets or sets the length of time in seconds that the processor must have to maintain the CPU idle percentage value before the processor is considered idle. |
![]() |
IdleCpuPercentage | Gets or sets the CPU idle percentage threshold that the processor is required to achieve before it is considered idle. |
![]() |
IsCpuPollingEnabled | Gets or sets the Boolean property value that specifies whether CPU polling is enabled. |
![]() |
IsTouched | Obtiene el valor de propiedad Boolean que especifica si las propiedades del objeto se han actualizado pero todavía no son persistentes en el servidor. (Se hereda de SqlSmoObject.) |
![]() |
JobCategories | Represents a collection of JobCategory objects. Each JobCategory object represents a job category defined on Microsoft SQL Server Agent. |
![]() |
Jobs | Represents a collection of Job objects. Each Job object represents a job defined on SQL Server Agent. |
![]() |
JobServerType | Gets or sets the type of job server with regard to multiserver administration. |
![]() |
LocalHostAlias | Gets or sets the local host alias that is used to connect to the local instance of SQL Server. |
![]() |
LoginTimeout | Gets or sets the number of seconds after which an attempt to connect times out. |
![]() |
MaximumHistoryRows | Gets or sets the maximum number of history rows retained. |
![]() |
MaximumJobHistoryRows | Gets or sets the maximum number of history rows retained per job. |
![]() |
MsxAccountCredentialName | Gets or sets the Windows account required to connect to the master server using Windows Authentication. |
![]() |
MsxAccountName | Gets or sets the login required to connect to the master server using SQL Server Authentication. |
![]() |
MsxServerName | Gets or sets the name of the master server participating in multiserver administration. |
![]() |
Name | Gets the name of the SQL Server Agent service. |
![]() |
NetSendRecipient | Gets or sets the recipient of net send messages. |
![]() |
ObjectInSpace | Obtiene el valor de propiedad Boolean que especifica si el objeto existe en aislamiento, o si está conectado directa o indirectamente con la instancia de SQL Server. (Se hereda de SqlSmoObject.) |
![]() |
OperatorCategories | Represents a collection of OperatorCategory objects. Each OperatorCategory object represents an operator category defined on SQL Server Agent. |
![]() |
Operators | Represents a collection of Operator objects. Each Operator object represents an operator defined on SQL Server Agent. |
![]() |
Parent | Gets the Server object that is the parent of the JobServer object. |
![]() |
Properties | Obtiene una colección de objetos Property que representa las propiedades del objeto. (Se hereda de SqlSmoObject.) |
![]() |
ProxyAccounts | Represents a collection of ProxyAccount objects. Each ProxyAccount object represents a proxy account defined on Microsoft SQL Server Agent. |
![]() |
ReplaceAlertTokensEnabled | Gets or sets the Boolean value that determines whether alert tokens are replaced on the instance of SQL Server Agent. |
![]() |
SaveInSentFolder | Gets or sets the Boolean property value that specifies whether the notifications are saved. |
![]() |
ScalarResult | Obtiene el resultado escalar para el objeto al que se hace referencia. (Se hereda de SqlSmoObject.) |
![]() |
ServiceAccount | Gets the account under which the SQL Server Agent service runs |
![]() |
ServiceStartMode | Gets the mode used to start the SQL Server Agent service. |
![]() |
SharedSchedules | Represents a collection of JobSchedule objects. Each JobSchedule object represents a shared schedule defined on SQL Server Agent. |
![]() |
SqlAgentAutoStart | Gets or sets the Boolean property value that specifies whether SQL Server Agent is automatically started. |
![]() |
SqlAgentMailProfile | Gets or sets a SQL Server Agent mail profile. |
![]() |
SqlAgentRestart | Gets or sets the Boolean property value that specifies whether SQL Server Agent is monitored and restarted if it stops. |
![]() |
SqlServerRestart | Gets or sets the Boolean property value that specifies whether the SQL Server Service is monitored and restarted if it stops. |
![]() |
State | Gets the state of the referenced object. (Se hereda de SmoObjectBase.) |
![]() |
SysAdminOnly | Gets the Boolean property value that specifies whether CmdExec and ActiveX commands can only be executed by members of the sysadmin fixed server role. |
![]() |
TargetServerGroups | Represents a collection of TargetServerGroup objects. Each TargetServerGroup object represents a target server group defined on SQL Server Agent. |
![]() |
TargetServers | Represents a collection of TargetServer objects. Each TargetServer object represents a target server defined on SQL Server Agent. |
![]() |
Urn | Obtiene el valor de la dirección URN (nombre de recursos uniforme) que identifica de forma única el objeto. (Se hereda de SqlSmoObject.) |
![]() |
UserData | Gets or sets user-defined data associated with the referenced object. (Se hereda de SmoObjectBase.) |
![]() |
WriteOemErrorLog | Gets or sets the Boolean property value that specifies whether to write the error log to a non-Unicode file or not. |
Arriba
Métodos
Nombre | Descripción | |
---|---|---|
![]() |
AddDatabaseContext(StringCollection) | Agrega el contexto de la base de datos a la colección de consultas identificada por el parámetro queries. (Se hereda de SqlSmoObject.) |
![]() |
AddDatabaseContext(StringCollection, ScriptingOptions) | Agrega el contexto de la base de datos a la colección de consultas identificada por el parámetro queries usando las opciones de scripting especificadas. (Se hereda de SqlSmoObject.) |
![]() |
Alter | Updates any JobServer object property changes on an instance of SQL Server. |
![]() |
AlterImpl | Activa el evento de objeto modificado. (Se hereda de SqlSmoObject.) |
![]() |
AlterImplFinish | Método al que se llama cuando finaliza el evento de objeto modificado. (Se hereda de SqlSmoObject.) |
![]() |
AlterImplInit | Método al que se llama cuando se inicializa el evento de objeto modificado. (Se hereda de SqlSmoObject.) |
![]() |
AlterImplWorker | Llama a los métodos Alter. (Se hereda de SqlSmoObject.) |
![]() |
BindDefaultImpl | Enlaza los elementos predeterminados identificados por los parámetros. (Se hereda de SqlSmoObject.) |
![]() |
BindRuleImpl | Enlaza el esquema de la regla a la regla y las columnas identificadas por los parámetros. (Se hereda de SqlSmoObject.) |
![]() |
CheckCollation | Comprueba el orden de las opciones de scripting por el método de intercalación identificado por el parámetro collationName. (Se hereda de SqlSmoObject.) |
![]() |
CheckObjectState() () () () | Valida el estado del objeto al que se hace referencia. (Se hereda de SqlSmoObject.) |
![]() |
CheckObjectState(Boolean) | Valida el estado del objeto al que se hace referencia, con la opción de especificar que se produzca una excepción si todavía no se ha creado el objeto. (Se hereda de SqlSmoObject.) |
![]() |
CheckObjectStateImpl | Comprueba el estado de un objeto SqlSmoObject. (Se hereda de SqlSmoObject.) |
![]() |
CheckVersion100 | Comprueba si la versión de SQL Server es SQL Server 2008. (Se hereda de SqlSmoObject.) |
![]() |
CheckVersion80 | Comprueba la validez del objeto en SQL Server 2000. (Se hereda de SqlSmoObject.) |
![]() |
CheckVersion80SP3 | Comprueba la validez del objeto en SQL Server 2000 SP3. (Se hereda de SqlSmoObject.) |
![]() |
CheckVersion90 | Comprueba la validez del objeto en SQL Server 2005. (Se hereda de SqlSmoObject.) |
![]() |
CheckVersionBelow90 | Comprueba si la versión de SQL Server es anterior a SQL Server 2005. (Se hereda de SqlSmoObject.) |
![]() |
CleanObject | Establece el objeto en el estado no modificado. (Se hereda de SqlSmoObject.) |
![]() |
ClearHostLoginAccount | Clears the host login account and uses integrated security to log in to SQL Server. |
![]() |
ClearMsxAccount | Clears the master server login account and uses integrated security to log in to the master server. |
![]() |
CreateImpl | Crea un objeto con opciones de scripting. (Se hereda de SqlSmoObject.) |
![]() |
CreateImplFinish | Método al que se llama cuando finaliza el evento Create. (Se hereda de SqlSmoObject.) |
![]() |
CreateImplInit | Método al que se llama cuando se inicializa el evento Create. (Se hereda de SqlSmoObject.) |
![]() |
CycleErrorLog | Closes and renames the current error log, and then creates a new empty error log file. |
![]() |
Discover | Detecta una lista del tipo Object. (Se hereda de SqlSmoObject.) |
![]() |
DropImpl | Quita un SqlSmoObject. (Se hereda de SqlSmoObject.) |
![]() |
DropImplWorker | Llama a los métodos Drop. (Se hereda de SqlSmoObject.) |
![]() |
DropJobByID | Removes the job with the specified ID value. |
![]() |
DropJobsByLogin | Removes the job with the specified login name. |
![]() |
DropJobsByServer | Removes the job with the specified server. |
![]() |
EnumErrorLogs | Enumerates a list of SQL Server Agent error log information. |
![]() |
EnumJobHistory() () () () | Enumerates a list of SQL Server Agent job history information. |
![]() |
EnumJobHistory(JobHistoryFilter) | Enumerates a list of job history information. |
![]() |
EnumJobs() () () () | Enumerates a list of information about the current job. |
![]() |
EnumJobs(JobFilter) | Enumerates a list of information about current jobs. |
![]() |
EnumPerformanceCounters() () () () | Enumerates a list of SQL Server Agent performance counter information. |
![]() |
EnumPerformanceCounters(String) | Enumerates a list of SQL Server Agent performance counter information for the specified object. |
![]() |
EnumPerformanceCounters(String, String) | Enumerates a list of SQL Server Agent performance counter information for the specified object and specified counter. |
![]() |
EnumPerformanceCounters(String, String, String) | Enumerates a list of SQL Server Agent performance counter information for the specified object, specified counter, and specified instance of SQL Server. |
![]() |
EnumScriptImpl | Enumera los scripts especificados por el parámetro so. (Se hereda de SqlSmoObject.) |
![]() |
EnumScriptImplWorker | Llama a los métodos que enumeran los scripts especificados por el parámetro so. (Se hereda de SqlSmoObject.) |
![]() |
EnumScriptImplWorkerSOChanged | Devuelve una cadena IEnumerable que describe las opciones de scripting de un objeto. (Se hereda de SqlSmoObject.) |
![]() |
EnumSubSystems | Enumerates a list of SQL Server Agent execution subsystems. |
![]() |
Equals | (Se hereda de Object.) |
![]() |
ExecuteNonQuery | (Se hereda de SqlSmoObject.) |
![]() |
Finalize | (Se hereda de Object.) |
![]() |
FormatSqlVariant | Da formato a un objeto como tipo SqlVariant. (Se hereda de SqlSmoObject.) |
![]() |
GenerateDataSpaceFileStreamScript | Genera un script para crear el archivo de datos. (Se hereda de SqlSmoObject.) |
![]() |
GenerateDataSpaceScript | Genera un script para asignar espacio en el archivo de datos. (Se hereda de SqlSmoObject.) |
![]() |
GetBindDefaultScript | Obtiene el script que enlaza los valores predeterminados especificados por los parámetros defSchema y defName. (Se hereda de SqlSmoObject.) |
![]() |
GetBindRuleScript | Obtiene el script que especifica las reglas de enlace. (Se hereda de SqlSmoObject.) |
![]() |
GetBoolParameter(StringBuilder, ScriptingOptions, String, String, Int32%) | Asigna un parámetro booleano del objeto SqlSmoObject. (Se hereda de SqlSmoObject.) |
![]() |
GetBoolParameter(StringBuilder, ScriptingOptions, String, String, Int32%, Boolean) | Asigna una propiedad booleana del objeto SqlSmoObject. (Se hereda de SqlSmoObject.) |
![]() |
GetDateTimeParameter | Asigna la propiedad datetime del objeto SqlSmoObject. (Se hereda de SqlSmoObject.) |
![]() |
GetDateTimeParameterAsInt | Asigna la propiedad datetime del objeto SqlSmoObject como un valor entero si la propiedad datetime no es NULL. (Se hereda de SqlSmoObject.) |
![]() |
GetDBName | Obtiene el nombre de la base de datos asociada al objeto. (Se hereda de SqlSmoObject.) |
![]() |
GetEnumParameter | Asigna una propiedad enumeration del objeto SqlSmoObject. (Se hereda de SqlSmoObject.) |
![]() |
GetFragOptionString | Obtiene un objeto FragmentationOption como un valor de cadena. (Se hereda de SqlSmoObject.) |
![]() |
GetGuidParameter | Asigna una propiedad Guid del objeto SqlSmoObject. (Se hereda de SqlSmoObject.) |
![]() |
GetHashCode | (Se hereda de Object.) |
![]() |
GetJobByID | Returns a job with the specified ID value. |
![]() |
GetParameter(StringBuilder, ScriptingOptions, String, String, Int32%) | Asigna un parámetro del objeto SqlSmoObject. (Se hereda de SqlSmoObject.) |
![]() |
GetParameter(StringBuilder, ScriptingOptions, String, String, Int32%, Boolean) | Asigna un parámetro del objeto SqlSmoObject. (Se hereda de SqlSmoObject.) |
![]() |
GetPropValue | Obtiene un valor de propiedad del objeto SqlSmoObject. (Se hereda de SqlSmoObject.) |
![]() |
GetPropValueOptional | Obtiene un valor de propiedad del objeto SqlSmoObject. (Se hereda de SqlSmoObject.) |
![]() |
GetPropValueOptionalAllowNull | Obtiene un valor de propiedad del objeto SqlSmoObject. (Se hereda de SqlSmoObject.) |
![]() |
GetRealValue | Obtiene un valor de propiedad del objeto SqlSmoObject. (Se hereda de SqlSmoObject.) |
![]() |
GetScriptingOptionsForCreate | Obtiene ScriptingOptions para el objeto SqlSmoObject. (Se hereda de SqlSmoObject.) |
![]() |
GetServerName | Obtiene el nombre de la instancia de SQL Server con la que está asociado el objeto. (Se hereda de SqlSmoObject.) |
![]() |
GetServerObject | Obtiene el servidor del objeto SqlSmoObject. (Se hereda de SqlSmoObject.) |
![]() |
GetSqlServerVersionName | Obtiene el nombre de la versión de la instancia de SQL Server con la que está asociado el objeto. (Se hereda de SqlSmoObject.) |
![]() |
GetStringParameter(StringBuilder, ScriptingOptions, String, String, Int32%) | Asigna un parámetro de cadena del objeto SqlSmoObject. (Se hereda de SqlSmoObject.) |
![]() |
GetStringParameter(StringBuilder, ScriptingOptions, String, String, Int32%, Boolean) | Asigna un parámetro de cadena del objeto SqlSmoObject. (Se hereda de SqlSmoObject.) |
![]() |
GetTimeSpanParameterAsInt | Asigna un parámetro de intervalo de tiempo del objeto SqlSmoObject. (Se hereda de SqlSmoObject.) |
![]() |
GetType | (Se hereda de Object.) |
![]() |
GetUrnRecursive(StringBuilder) | Asigna un objeto Urn del objeto SqlSmoObject. (Se hereda de SqlSmoObject.) |
![]() |
GetUrnRecursive(StringBuilder, UrnIdOption) | Asigna un objeto Urn del objeto SqlSmoObject. (Se hereda de SqlSmoObject.) |
![]() |
ImplInitialize | Inicializa los campos del objeto SqlSmoObject. (Se hereda de SqlSmoObject.) |
![]() |
Initialize() () () () | Inicializa el objeto y fuerza la carga de las propiedades. (Se hereda de SqlSmoObject.) |
![]() |
Initialize(Boolean) | Inicializa el objeto y fuerza la carga de las propiedades. (Se hereda de SqlSmoObject.) |
![]() |
IsObjectDirty | Comprueba si se han modificado las propiedades del objeto y los cambios todavía no son persistentes en la instancia de SQL Server. (Se hereda de SqlSmoObject.) |
![]() |
IsObjectInitialized | Comprueba si se ha inicializado el objeto. (Se hereda de SqlSmoObject.) |
![]() |
IsObjectInSpace | Comprueba si el objeto está aislado o conectado a la instancia de SQL Server. (Se hereda de SqlSmoObject.) |
![]() |
IsVersion80SP3 | Determina si la versión de SQL Server es SQL Server 2000 con SP3. (Se hereda de SqlSmoObject.) |
![]() |
IsVersion90AndAbove | Determina si la versión de SQL Server es SQL Server 2005 o posterior. (Se hereda de SqlSmoObject.) |
![]() |
MarkDropped | Establece SqlSmoState en quitado. (Se hereda de SqlSmoObject.) |
![]() |
MarkForDropImpl | Establece SqlSmoState en quitado. (Se hereda de SqlSmoObject.) |
![]() |
MemberwiseClone | (Se hereda de Object.) |
![]() |
MsxDefect() () () () | Ends Microsoft SQL Server Agent participation in a multiserver administration group. |
![]() |
MsxDefect(Boolean) | Ends SQL Server Agent participation in a multiserver administration group with the option to force defection. |
![]() |
MsxEnlist | Enlists SQL Server Agent as a target server with the specified master server in a multiserver administration. |
![]() |
PostAlter | Método que se activa tras modificar el objeto SqlSmoObject. (Se hereda de SqlSmoObject.) |
![]() |
PostCreate | Método que se activa tras crear el objeto SqlSmoObject. (Se hereda de SqlSmoObject.) |
![]() |
PostDrop | Método que se activa tras quitar el objeto SqlSmoObject. (Se hereda de SqlSmoObject.) |
![]() |
PurgeJobHistory() () () () | Removes all logged records of SQL Server Agent jobs. |
![]() |
PurgeJobHistory(JobHistoryFilter) | Removes all logged records of SQL Server Agent jobs as specified by a filter. |
![]() |
ReadErrorLog() () () () | Enumerates the error log. |
![]() |
ReadErrorLog(Int32) | Enumerates the error log. |
![]() |
ReassignJobsByLogin | Changes ownership for any SQL Server Agent job currently owned by a SQL Server login. |
![]() |
Refresh | Actualiza el objeto y recupera las propiedades la próxima vez que se tiene acceso al objeto. (Se hereda de SqlSmoObject.) |
![]() |
RemoveJobByID | Removes a job with a specified ID value. |
![]() |
RemoveJobsByLogin | Removes a job with a specified login. |
![]() |
Script() () () () | Generates a Transact-SQL script that can be used to re-create SQL Server Agent. |
![]() |
Script(ScriptingOptions) | Generates a Transact-SQL script that can be used to re-create SQL Server Agent as specified by the scripting options. |
![]() |
ScriptAlter | Modifica el objeto SqlSmoObject de acuerdo con los parámetros. (Se hereda de SqlSmoObject.) |
![]() |
ScriptCreate | Modifica el objeto SqlSmoObject de acuerdo con los parámetros. (Se hereda de SqlSmoObject.) |
![]() |
ScriptDdl | Inicia InvalidSmoOperationException. (Se hereda de SqlSmoObject.) |
![]() |
ScriptDrop | Inicia InvalidSmoOperationException. (Se hereda de SqlSmoObject.) |
![]() |
ScriptImpl() () () () | Obtiene una colección de los scripts del objeto SqlSmoObject. (Se hereda de SqlSmoObject.) |
![]() |
ScriptImpl(ScriptingOptions) | Obtiene una colección de los scripts del objeto SqlSmoObject. (Se hereda de SqlSmoObject.) |
![]() |
ScriptImplWorker | Obtiene una colección de los scripts del objeto SqlSmoObject. (Se hereda de SqlSmoObject.) |
![]() |
SetHostLoginAccount | Sets the SQL Server authentication account and password used to log in to SQL Server. |
![]() |
SetMsxAccount(String) | Sets the name of the credentials used to log in to the master server in multiserver administration. |
![]() |
SetMsxAccount(String, String) | Sets the name of the credentials used to log in to the master server in multiserver administration. |
![]() |
SetParentImpl | Establece el elemento primario del objeto SqlSmoObject en el parámetro newParent. (Se hereda de SqlSmoObject.) |
![]() |
StartMonitor | Starts monitoring the local SQL Server Agent Service by an instance of SQL Server. |
![]() |
StopMonitor | Ends monitoring the local SQL Server Agent Service by an instance of SQL Server. |
![]() |
TestMailProfile | Tests the validity of an e-mail profile. |
![]() |
TestNetSend | Tests the validity of a net send address. |
![]() |
ToString | Devuelve un valor String que representa el objeto al que se hace referencia. (Se hereda de SqlSmoObject.) |
![]() |
TouchImpl | No implementado. (Se hereda de SqlSmoObject.) |
![]() |
UnbindDefaultImpl | Desenlaza las columnas predeterminadas del objeto SqlSmoObject. (Se hereda de SqlSmoObject.) |
![]() |
UnbindRuleImpl | Desenlaza las reglas del objeto SqlSmoObject. (Se hereda de SqlSmoObject.) |
![]() |
Validate | Validates the state of an object. (Se hereda de SmoObjectBase.) |
Arriba
Eventos
Nombre | Descripción | |
---|---|---|
![]() |
PropertyChanged | Representa el evento que se produce cuando se cambia una propiedad. (Se hereda de SqlSmoObject.) |
![]() |
PropertyMetadataChanged | Representa el evento que se produce cuando cambian los metadatos de la propiedad. (Se hereda de SqlSmoObject.) |
Arriba
Campos
Nombre | Descripción | |
---|---|---|
![]() |
m_ExtendedProperties | Representa una propiedad definida para extender las propiedades proporcionadas por un objeto SqlSmoObject. (Se hereda de SqlSmoObject.) |
![]() |
singletonParent | Representa el elemento primario singleton. (Se hereda de SqlSmoObject.) |
Arriba
Implementaciones de interfaces explícitas
Nombre | Descripción | |
---|---|---|
![]() ![]() |
IAlienObject. . :: . .Discover | Detecta las dependencias. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. (Se hereda de SqlSmoObject.) |
![]() ![]() |
IAlienObject. . :: . .GetDomainRoot | Devuelve la raíz del dominio. (Se hereda de SqlSmoObject.) |
![]() ![]() |
IAlienObject. . :: . .GetParent | Obtiene el elemento primario de este objeto. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. (Se hereda de SqlSmoObject.) |
![]() ![]() |
IAlienObject. . :: . .GetPropertyType | Obtiene el tipo de la propiedad especificada. (Se hereda de SqlSmoObject.) |
![]() ![]() |
IAlienObject. . :: . .GetPropertyValue | Obtiene el valor de la propiedad especificada. (Se hereda de SqlSmoObject.) |
![]() ![]() |
IAlienObject. . :: . .GetUrn | Obtiene el Nombre de recursos uniforme del objeto. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. (Se hereda de SqlSmoObject.) |
![]() ![]() |
IAlienObject. . :: . .Resolve | Obtiene la instancia que contiene la información sobre el objeto del Nombre de recursos unificado del objeto. (Se hereda de SqlSmoObject.) |
![]() ![]() |
IAlienObject. . :: . .SetObjectState | Establece el estado del objeto en el valor SfcObjectState especificado. (Se hereda de SqlSmoObject.) |
![]() ![]() |
IAlienObject. . :: . .SetPropertyValue | Establece el valor de la propiedad. (Se hereda de SqlSmoObject.) |
![]() ![]() |
ISfcPropertyProvider. . :: . .GetPropertySet | Obtiene la referencia de interfaz al conjunto de propiedades de este objeto. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. (Se hereda de SqlSmoObject.) |
Arriba
Comentarios
When you use the SQL Server Agent objects, you can reference them by using the JobServer object property of the Server object. It is not necessary to call the constructor for the JobServer object because it is automatically created when the constructor is called for the Server object.
Nota
If the CompatibilityLevel property for the MSDB database is set to Version70 SMO might throw an exception with a COLLATE error.
To get JobServer object properties, users must be a member of the SQLAgentUserRole database role on the MSDB database, or be a member of the sysadmin fixed server role.
To set JobServer object properties, users must be a member of the sysadmin fixed server role.
To run methods on the JobServer object, users must be a member of the sysadmin fixed server role.
Thread Safety
Todos los miembros estáticos (compartidos en Microsoft Visual Basic) públicos de este tipo son seguros para operaciones multiproceso. No se garantiza que los miembros de instancia sean seguros para subprocesos.
Seguridad para subprocesos
Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.