Share via


JobServer.JobServerType Property

Gets or sets the type of job server with regard to multiserver administration.

Namespace:  Microsoft.SqlServer.Management.Smo.Agent
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public ReadOnly Property JobServerType As JobServerType 
    Get
'Usage
Dim instance As JobServer 
Dim value As JobServerType 

value = instance.JobServerType
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)]
public JobServerType JobServerType { get; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase)]
public:
property JobServerType JobServerType {
    JobServerType get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)>]
member JobServerType : JobServerType
function get JobServerType () : JobServerType

Property Value

Type: Microsoft.SqlServer.Management.Smo.Agent.JobServerType
A JobServerType object value that specifies the type of job server, such as a multiserver master server, multiserver target server, or a stand-alone server.

Examples

Scheduling Automatic Administrative Tasks in SQL Server Agent

See Also

Reference

JobServer Class

Microsoft.SqlServer.Management.Smo.Agent Namespace

Other Resources

Automated Administration Tasks (SQL Server Agent)

SQL Server Agent Stored Procedures (Transact-SQL)