// Name returns the current name of this virtual machine
Name returns the current name of this virtual machine
// Name returns the current name of this virtual machine
func (v *VirtualMachine) Name() (string, error) {
	name, err := v.computerSystem.GetProperty("ElementName")
	if err != nil {
		return "", errors.Wrap(err, "getting ElementName")
	}
	return name.Value().(string), nil
}
func ( v * VirtualMachine ) Name ( ) ( string , error ) { name , err := v . computerSystem . GetProperty ( " " ) if err != nil { return " " , errors . Wrap ( err , " " ) } return name . Value ( ) . ( string ) , nil }
Name returns the current name of this virtual machine
Name returns the current name of this virtual machine