Partager via


Rename méthode

Renames the job category, the operator category, or the alert category.

Espace de noms :  Microsoft.SqlServer.Management.Smo.Agent
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Sub Rename ( _
    newName As String _
)
'Utilisation
Dim instance As CategoryBase
Dim newName As String

instance.Rename(newName)
public void Rename(
    string newName
)
public:
virtual void Rename(
    String^ newName
) sealed
abstract Rename : 
        newName:string -> unit 
override Rename : 
        newName:string -> unit 
public final function Rename(
    newName : String
)

Paramètres

Implémente

IRenamable. . :: . .Rename(String)