Condividi tramite


Metodo JobCategoryCollection.Add

Adds a JobCategory object to the JobCategoryCollection collection.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo.Agent
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Public Sub Add ( _
    jobCategory As JobCategory _
)
'Utilizzo
Dim instance As JobCategoryCollection 
Dim jobCategory As JobCategory

instance.Add(jobCategory)
public void Add(
    JobCategory jobCategory
)
public:
void Add(
    JobCategory^ jobCategory
)
member Add : 
        jobCategory:JobCategory -> unit
public function Add(
    jobCategory : JobCategory
)

Parametri

Esempi

Utilizzo delle raccolte

Vedere anche

Riferimento

JobCategoryCollection Classe

Spazio dei nomi Microsoft.SqlServer.Management.Smo.Agent