GefProcedure.Name (property)

Gets and sets the name of the procedure.
Syntax: String = object.Name
object.Name = String
Description: The Name property gets and sets the name of the procedure. Events that were associated with this procedure will still be associated with this procedure after the renaming.

Example:

Sub GefProcedure_Name()
    
    Dim oCimObj As GefObject
    Dim oCimProcedure As GefProcedure
    
    Set oCimObj = CimGetObject
    Set oCimProcedure = oCimObj.Procedures.Item(0)
    
    oCimProcedure.Name ="MyProcedure"
    MsgBox "The name of the first procedure is " & _
        """" & oCimProcedure.Name & """"
    
End Sub